Last Sunday
Needed to return the week ending date as Sunday for daily transactions multiple times, for several aggregate reports. This function returns the last Sunday for past or future weeks.
2009-05-11 (first published: 2009-04-15)
694 reads
Needed to return the week ending date as Sunday for daily transactions multiple times, for several aggregate reports. This function returns the last Sunday for past or future weeks.
2009-05-11 (first published: 2009-04-15)
694 reads
This script will display information about the instance(s) on your cluster. Name of nodes, active node and drive letters of the resources
2009-05-08 (first published: 2009-04-15)
1,444 reads
2009-05-07 (first published: 2009-03-27)
1,626 reads
International Applications require timezone handling for different users Here is how to do this with SQL.
2009-05-06
4,215 reads
This quick and dirty sql will tell you the number of rows in your tables, the size in MB of yout data, and the total size (including indexes)
2009-05-04 (first published: 2008-10-04)
1,724 reads
This script returns the information of all SQL Jobs that are running on the server with the latest status.
2009-05-01 (first published: 2009-04-08)
1,662 reads
Checks if a sql server job ran successfully in the last xx minutes.
2009-04-29 (first published: 2009-04-02)
1,487 reads
2009-04-28
2,421 reads
Ammends the sp_who2 procedure with the input buffer contents, ususally the SQL statement for that SPID
2009-04-24 (first published: 2009-03-27)
1,339 reads
2009-04-22 (first published: 2009-03-19)
1,073 reads
Recently, in an attempt to thwart leechers (1990s kids will know), I added some...
Once upon a time I had a series about some cool stuff in Snowflake:...
By Steve Jones
“Most overnight successes – in fact any significant successes – take at least 5...
Comments posted to this topic are about the item The Speed of Count
Comments posted to this topic are about the item Detecting Outliers in Power BI...
Comments posted to this topic are about the item Moving to a New Platform
Which of these might run quicker on the AdventureWorks database in SQL Server 2025?
-- A select count(*) from AdventureWorks.Sales.OrderDetail -- B select count(1) from AdventureWorks.Sales.OrderDetail -- C select count(OrderDetailID) from AdventureWorks.Sales.OrderDetailSee possible answers