Hi,
I just want to do this:
delete from Tablename where Field in (select Newfield from SecondTable where Newfiled = 12)
(12200 records) <----this result when i want to capture it and insert in a table.
How i can achive this i tried print @@rowcount but it returns the value 1 meaning 1 row
any help appreciated!! thanks
I just want to do this:
delete from Tablename where Field in (select Newfield from SecondTable where Newfiled = 12)
(12200 records) <----this result when i want to capture it and insert in a table.
How i can achive this i tried print @@rowcount but it returns the value 1 meaning 1 row
any help appreciated!! thanks