2012-08-22 (first published: 2008-03-24)
1,893 reads
2012-08-22 (first published: 2008-03-24)
1,893 reads
I have a lot of SQL update queries where I need to make IF/ELSE types of decisions. I am using a cursor in some cases but looping through thousands of rows for update takes a long time. I also use some dynamic SQL to handle some query parameter decision making. Is there a better alternative?
2008-03-20
6,666 reads
2008-03-17
4,989 reads
One common problem in querying is to reference the previous row in a data set as part of a calculation. David McKinney brings us an interesting solution using SQL Server 2005.
2010-08-20 (first published: 2008-03-13)
55,370 reads
2008-03-12
4,119 reads
Several methods on how to pass an array of values from a client to SQL Server, and performance data about the methods.
2023-09-13 (first published: 2008-03-11)
4,251 reads
You have all read about why object qualification is important. You also must have heard of why stored Proc should not have sp_ as prefix to the name. Now let us proove if this is all true.
2008-03-10
9,639 reads
2008-03-06
5,023 reads
A stored procedure which takes a year and language as parameters and creates a calendar display for these parameters.
2008-04-25 (first published: 2008-03-04)
1,026 reads
2008-03-04
3,628 reads
By Steve Jones
I haven’t done one of these in awhile, but I saw an article recently...
In last months one of the scenarios where you can use AI has been...
By ChrisJenkins
Do you spend so long manipulating your data into something vaguely useful that you...
Comments posted to this topic are about the item Creating JSON II
Comments posted to this topic are about the item Engineer Lessons
On SQL Server 2025, what happens when I run this code:
SELECT JSON_OBJECTAGG( N'City':N'Denver' RETURNING JSON) GOSee possible answers