Viewing 6 posts - 1 through 6 (of 6 total)
In SS2k you must use in T-SQL script this version:
INSERT @i VALUES ('Steve')
INSERT @i VALUES ('Stephan')
INSERT @i VALUES ('Stephanie')
INSERT @i VALUES ('Sterling')
INSERT @i VALUES ('Steppenwolf')
Then are 4 rows in...
September 11, 2013 at 4:27 am
In this case have parentheses no role. Of principle is DISTINCT behavior of UNION clause.
July 11, 2012 at 8:23 am
--Pleas, compare this two scripts:
---------------------------------
DECLARE @FREQ INT
DECLARE @NUMBER INT
SET @FREQ = 5
SET @NUMBER =10000
BEGIN
IF DATEADD(MM, @FREQ*@NUMBER, '20120501') > '20200501'
SELECT 'O.K.'
ELSE
SELECT 'DateTimeERROR'
END
----------------------------------------------------------------
DECLARE @FREQ INT
DECLARE @NUMBER INT
SET @FREQ = 5
SET...
April 24, 2012 at 7:34 am
Better explanation is in this link: http://msdn2.microsoft.com/en-us/library/ms190276.aspx
Jiri Vobr
March 12, 2008 at 8:23 am
Viewing 6 posts - 1 through 6 (of 6 total)