Uri Dimant
3/22/2007 2:21:00 PM
Jay
I use qyery analyzer to debug t-sql
> If you can't - can you tell me how to print the value of a variable as it
> goes through a loop
declare @i int
set @i=1
set nocount on
while @i<=10
begin
select @i
set @i=@i+1
end
"Jay" <Jay@discussions.microsoft.com> wrote in message
news:313BAF05-6202-4828-B31B-1FB86B111C76@microsoft.com...
> Can someone please tell me if you can debug an sql script and if so where
> is
> the debuging tool bar
> If you can't - can you tell me how to print the value of a variable as it
> goes through a loop