KarthikBabu
Programmer
In T-SQL, Is there a way to find out the number of rows affected by an insert query?
I have the following statement.
Insert into #temp_table
select (....)
Now, without using 'select count(*) from #temp_table', is there any way (or system function) by which i can find out the number of rows inserted into the #temp_table. I think, in Oracle there is something called %ROWCOUNT. Is there a Sybase equivalent?
I have the following statement.
Insert into #temp_table
select (....)
Now, without using 'select count(*) from #temp_table', is there any way (or system function) by which i can find out the number of rows inserted into the #temp_table. I think, in Oracle there is something called %ROWCOUNT. Is there a Sybase equivalent?