Viewing 2 posts - 1 through 2 (of 2 total)
Create a temporary table
insert into <tmp table>
exec sp_abc
After the insert create proper indexes ans then use it in your sql satement
P/S: Most compound sql statements can have multiples instruction...
February 13, 2007 at 9:00 am
#689489
Insert your records in a temporary table using an autoincrement column as the key (let say "lineno"). After doing so, your @@rowcount variable will be affected and you will be...
February 23, 2006 at 1:37 am
#622820