Declare cr_Cursor CURSO FOR
Select Column from Table
For Read Only
Open cr_Cursor
Fetch Next From cr_Cursor INTO @Var
While @@FetchStatus > 0
Begin
Print @Var
Fetch Next From cr_Cursor INTO @Var
END
Close cr_Cursor
DEALLOCATE cr_Cursor
GO
AL Almeida
NT/DB Admin
"May all those that come behind us, find us faithfull"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.