Summarizing data using GROUP BY and HAVING clauses
You can summarize data to get counts, averages, sums, and more using GROUP BY in T-SQL queries. Greg Larsen shows you how.
2022-07-25
You can summarize data to get counts, averages, sums, and more using GROUP BY in T-SQL queries. Greg Larsen shows you how.
2022-07-25
Learn different ways to add comments to your T-SQL code when working with SQL Server along with several examples.
2022-07-18
2022-07-15
548 reads
2022-07-11
590 reads
In this article we cover different ways to convert a SQL Server numeric value into a string value.
2022-07-08
2022-07-04
461 reads
Learn about the T-SQL function, AVG(), and see how it is used in a few different cases.
2022-07-01
2,724 reads
2022-06-24
499 reads
This article shows how you can randomize dates in T-SQL, but keep the month and year the same while the day varies.
2022-06-24
1,752 reads
2022-06-17
532 reads
By Vinay Thakur
I wrote about TempDB Internals and understand that Tempdb plays very important role on...
By Vinay Thakur
continuing from Day 1 where we covered the history of AI and GPT family,...
By Steve Jones
It’s a day off for Redgate today. This is our annual wellbeing day, where...
Comments posted to this topic are about the item A Quick Restore
Comments posted to this topic are about the item Guarding Against SQL Injection at...
I have a quick question on Ola Hallengren Index Optimize Maintenance . Do we...
While doing some testing of an application, I wanted to reset my environment after doing some testing with this code:
USE DNRTest BACKUP DATABASE DNRTest TO DISK = 'dnrtest.bak' GO /* Bunch of stuff tested here */RESTORE DATABASE DNRTest FROM DISK = 'dnrtest.bak' WITH REPLACEWhat happens if this runs, assuming the "bunch of stuff" isn't anything affecting the instance. See possible answers