You can use While loops to get to the same place. Depending on what you
need to do you can use Cursors also but in most cases you don't want to go
there b/c they are a tad slow.
I agree with posting in a SQL group, preferably
microsoft.public.sqlserver.programming
You will want to look at cursors. Not exactly what you are looking for, as
objects are treated differently in SQL Server than code, but you can loop
through a cursor and check data items for matches.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
************************************************
Think Outside the Box!
************************************************
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.