ALTER TABLE - Adding Column - Column Order Impact
Most of us would have altered a table structre by adding a column to the table. When an ALTER table...
2011-06-25
991 reads
Most of us would have altered a table structre by adding a column to the table. When an ALTER table...
2011-06-25
991 reads
If you’re anything like me, you use many different machines on a daily or sometimes weekly basis. Some of these...
2011-06-25
692 reads
An interesting story on how a database speeds up by changing some application code. Worth the read for sure.
I caught...
2011-06-24
787 reads
After several days research, I have been trying to get a rough estimate on how many Full Time Employees are...
2011-06-24
3,254 reads
SQLdiag is a diagnostics collection utility to collect logs and data files from SQL Server that you can use to monitor...
2011-06-24
1,123 reads
Here’s a two part story(Part 1, Part 2 from Information Week by Larry Tieman you should read. There’s a great...
2011-06-24
897 reads
Few days back I was setting up data driven subscription for a SSRS 2005 report. The command / query which populates...
2011-06-24
1,516 reads
As I mentioned in the introductory post, I’m summarizing posts from previous years in the the past week. Some posts...
2011-06-24
566 reads
I literally changed the topic of my blog today, (as I had my blogger open), since I had read some pretty...
2011-06-24
1,150 reads
There will inevitably come a day when you want to take a look at the metadata of the tables inside...
2011-06-23
6,092 reads
By SQLPals
How to Clear the SSMS Cache (SSMS 21 and Later) Updated...
By Arun Sirpal
“What exactly did it do on my server?” is the first question a DBA...
By James Serra
Microsoft shared a broad set of Fabric, Power BI, and SQL updates at FabCon...
Comments posted to this topic are about the item Let's Talk Certifications
Comments posted to this topic are about the item The Hidden Security Risks of...
Comments posted to this topic are about the item The Empty Aggregate
I have this table in a SQL Server 2025 database:
CREATE TABLE [dbo].[CustomerOrder] ( [OrderID] [int] NULL, [CustomerID] [int] NULL, [total] [money] NULL ) ON [PRIMARY] GOWhat is returned from this code? (answers are for the sum and then the count)
SELECT SUM(total) AS sum,
COUNT(total) AS count
FROM dbo.CustomerOrder;
See possible answers