adspace


What is @@rowcount in sql?

Answer Posted / Huma Rizvi

@@ROWCOUNT is a system function in SQL Server that returns the number of rows affected by the last statement executed. It can be used to check if any rows were inserted, updated, or deleted.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between upgrade and migration in sql server?

1185


How do I create a trace in sql server?

1121


What are different types of constraints?

1003


How to connect php with different port numbers?

1191


Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?

1024


What is normalization and what are the advantages of it?

1057


Can we shrink data file in sql server?

1130


How to enter binary string literals in ms sql server?

1246


What is temporary table in sql server? Why we use temp table?

1023


You have a stored procedure, which execute a lengthy batch job. This stored procedure is called from a trigger you do not want to slow the data entry process you do not want trigger to wait for this batch job to finish before it completes itself what you can do to speed up the process?

1215


What is the difference between for xml raw and for xml auto?

1119


Can you index views?

955


what is spatial nonclustered index

1060


Why should you use or avoid select * statements?

1111


Is it possible to have clustered index on separate drive from original table location?

1041