Home Forums SQL Server 7,2000 T-SQL Multiple Counts in a Row RE: Multiple Counts in a Row
Bob Fazio
SSChampion
Points: 10794
More actions
October 9, 2007 at 10:51 am
#740452
I agree with everyone about using SQL to do formatting, but this will work
DROP TABLE #Doit
CREATE TABLE #Doit
(a INT IDENTITY,z INT)
go
INSERT INTO #Doit(z)
VALUES(NULL)
GO 50
SELECT '------------------
',a,'
-----------------'
FROM #Doit