Reputation
1,484
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
2 12 25
Impact
~102k people reached

Mar
31
revised Hindrance in TSQL SVF Call
added link to article with extra info
Mar
30
revised Hindrance in TSQL SVF Call
edited body
Mar
30
answered Hindrance in TSQL SVF Call
Mar
6
awarded  Famous Question
Feb
19
comment Why does SUM() return 0 when no rows in table?
@ypercube You're right, my mistake (I'd just deleted my comment because I was wrong)
Feb
19
revised Why does SUM() return 0 when no rows in table?
looked back on some emails I'd sent in the past and corrected my check, I've been saying If the value is still NULL handle it... (handles no rows as well as assigned NULL)
Feb
19
accepted Why does SUM() return 0 when no rows in table?
Feb
19
comment Why does SUM() return 0 when no rows in table?
My memory is that SQL Server 2005 and earlier used to not return any row if no GROUP BY was specified (a google and stackoverflow search indicates that other people had the same experience), do you know when/why it changed?
Feb
17
comment Why does SUM() return 0 when no rows in table?
Another related: dba.stackexchange.com/questions/25435/…
Feb
17
asked Why does SUM() return 0 when no rows in table?
Jan
17
awarded  Yearling
Oct
29
answered Currently all connections getting “Timeout expired”
Sep
23
awarded  Notable Question
Sep
4
comment Does SQL server 2008 log instance level security permission changes
Note: if the database had been restored your login may have been disabled (for that DB only) if it was restored from a different server (even if you have a valid login for that server)
Aug
23
awarded  Famous Question
Aug
7
revised How to tell what invoked a trigger in SQL Server?
brief reformat to move code into code section (was showing as part of the comment block)
Aug
6
awarded  Organizer
Aug
6
revised How to tell what invoked a trigger in SQL Server?
adding tag to include SQL Server
Aug
6
suggested approved edit on How to tell what invoked a trigger in SQL Server?
Aug
6
answered How to tell what invoked a trigger in SQL Server?