(Jack Vamvas) Question: How can I write a query to return a recordset and do something to a specific row? I understand this is a presentation issue – because the obvious answer is to return the recordset and then do some manipulation at the presentation layer, but the current situation requires me o
Tag: sql server
SQL SERVER – Execution Plan Ignores Tabs, Spaces and Comments
(Pinal Dave) Just another day I was delivering my training SQL Server Performance Tuning Practical Workshop, I noticed that organizations had many stored procedures but none of the SP had any comments.
Using Process Monitor To Find Out How Much Data Power Query Reads From A File
(Chris Webb) This post is really just a quick follow-on from my post earlier this week on using Process Monitor to troubleshoot Power Query performance issues with file-based data sources, which I suggest you read before carrying on. I realised, after playing around with Process Monitor some more, t
Optimization Thresholds – Grouping and Aggregating Data, Part 5
(Itzik Ben-Gan) When SQL Server optimizes a query, during an exploration phase it produces candidate plans and chooses among them the one that has the lowest cost. The chosen plan is supposed the have the lowest run time among the explored plans. The thing is, the optimizer can only choose between s
SQL MYSTERIES: Tracing BCP Might Fool You
(RDORR) Today I was tracking a large BCP.exe ‘IN’ operation and monitoring the sys.dm_exec_requests entries. The ‘BULK INSERT’ command entry appeared, showing the CPU, reads, writes, … but these values where getting reset from time to time.
How to Save Costs on Non-Production SQL Server RDS Instances
(Sadequl Hussain) We are trying to streamline our AWS resource expenses. The DBA team says we are running a number of RDS servers in our AWS accounts. Right now, we need those instances, so we can’t delete them. Is there any way we can save costs of those instances? Are there any quick wins we can h
Power BI: Dataflows
(James Serra) Dataflows, previously called Common Data Service for Analytics as well as Datapools, will be in preview soon and I wanted to explain in this blog what it is and how it can help you get value out of your data quickly (it’s a follow-up to my blog Getting value out of data quickly).
Counting NULLs
(Kenneth Fisher) Recently I was doing one of Kendra Little’s (b/t) SQL Server quizzes. Specifically the Quiz: COUNT() in SQL Server. As always I enjoy these quizzes and in this particular case it gave me an idea for a post.
Scalability and Availability Challenges and Shareplex Solutions
(Pinal Dave) If you ask any DBA in the world about their wildest dream, they will always say that want to manage a huge database platform which is scalable whenever it needs to and available always. If you are a DBA, you will agree with the statement.
Databases and DevOps, Tools are the Easy Part
(Grant Fritchey) Moving your database development, deployment and management into a DevOps methodology does involve choosing and implementing tools and tooling. Tools are a necessary aspect of DevOps because, one of the fundamentals of implementing a DevOps approach is automation.
