Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Ex
Posting Yak Master
166 Posts |
Posted - 2005-01-03 : 18:38:52
|
| hello all,is there anyway to use a while loop to scroll through the deleted table from a trigger (withouth using cursors) i.e is there a inbuilt identity col or some global identifer that i can use to do a row by row operation on the deleted table?i know i can just put the identity col in myself but didn't want to if there is allready a way to do it |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2005-01-03 : 19:05:12
|
| no but you canselect *, identity(int, 1, 1) as id into #athen loop though the id - as long as there isn't a blob in the table.You could also loop through the pk.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
|
|
|