(Joe Celko) The GROUP BY and HAVING clauses in SQL goes all the way back to the start of the language, in its simplest form. The original idea was that you would build a working table using the SELECT … FROM … WHERE clauses, and then partition that result set into groups.
Tag: sql server
Querying Deadlocks From System_Health XEvent
(Steve Hood) It’s easy to query XEvents to see some of the basic info in deadlocks, including the system_health session which is already capturing this information by default.
#0371 – SQL Server – Best Practices – Always use precise decimal data-types
(Nakul Vachhrajani) I recently came across a concrete example of something that has always been maintained as a best practice – when working on items that are sensitive to decimal precision, always use precise data-types like DECIMAL instead of FLOAT or REAL.
Two Scripts That Help You Monitor Deadlocks with Extended Events
(Michael J. Swart) I want to use extended events to store recent deadlock graphs. And I want to create an asynchronous file target instead of using the existing system_health session. I don’t like the system_health target for a couple reasons. It’s too slow to query and it rolls over too quickly and
Best Practices For Deleting SQL Server Data
(Ben Snaidero) Deleting data from a SQL Server database is something I really don’t like to do as it’s always better if it can be done through an application that has been thoroughly tested. However, inevitably there comes a time where some backend data cleanup needs to be done. Below are some best
Monitoring SSAS Multidimensional MDX Query Results Serialisation, Part 1
(Chris Webb) Profiler (or indeed XEvents) can tell you a lot of interesting things about what happens when SSAS Multidimensional serialises the resultset returned by an MDX query.
Monitoring In-Memory OLTP: What’s Important?
(Murilo Miranda) In-Memory OLTP has evolved to be a great solution. However, a production system that uses it needs careful monitoring to avoid stress conditions becoming problems. As with many new features of SQL Server, it pays to plan a monitoring strategy to ensure that you are alerted as soon a
SQL SERVER – Script: Change Service Account Using WMI / SMO
(Pinal Dave) Last week I wrote a post where my friend faced problem because he changed the service account of SQL Server from services. mass rather than SQL Server Configuration Manager.
SQL Server Transactional Replication Static Row and Column Filters
(Rajendra Gupta) SQL Server Replication is widely used to populate reporting databases or to disperse data geographically. Based on the need to send data to various subscribers with different requirements there may be a need to restrict relevant data either at a column level or row level. How can we
SQL SERVER – 2016 – Creating Additional Indexes with Clustered ColumnStore Indexes
(Pinal Dave) Every version of SQL Server brings new capabilities that enhance the features that were introduced in the previous versions. I am sure the team is working based on the feedbacks given by customers as they starting using the new capability.
