SQL ROWCOUNT

The SQL Server ROWCOUNT Set Function causes the server to stop the query processing after the specified numbers are returned. The basic syntax of the SQL ROWCOUNT is as shown below: SET ROWCOUNT { number (or number variable) } — For example, SET ROWCOUNT 4; We are going to use the below-shown data for this … Read more