Viewing post 1 (of 2 total)
This method is not very elegant but it seems to work quickly.
select getdate()
Declare @sql int
set @sql=1
select @sql
while @sql<100
begin
set @sql=@sql+1
if @sql % 3=0 and @sql % 5=0
print 'bizzbuzz'
end
else
if @sql %...
May 29, 2007 at 7:44 am
#709348