T-SQL Sorting ChallengeCommented on: 6 years ago
(September 3, 2008)
First create a UDF (which uses the Numbers table to split up the val string)
CREATE FUNCTION dbo.t1_x
RETURNS varchar(8000) AS
DECLARE @s varchar(8000)
SELECT @s =...
The Logical Puzzle - 22 Aug 2007Commented on: 7 years ago
(October 15, 2007)
If switch A is on, turn it off and increment count,
otherwise toggle switch B
If switch A is off and you haven't turned it on before, turn it...
Digital Magazine Archives
Browse back issues of SQL Server Pro, from January 2007 through the last issue published in April 2014. Find the back issues here.