Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 
DogFood


What is alternative of TOP keyword in SQL Server?
Question Posted on 07 Nov 2021

Home >> DataBase >> sql questions >> What is alternative of TOP keyword in SQL Server?




What is alternative of TOP keyword in SQL Server?
We can use ROWCOUNT as alternate option for TOP keyword. But syntax is different from top keyword in SQL Server. Below is syntax for ROWCOUNT:-

Set rowcount 3
Select * from table_name order by id desc Set rowcount 0
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Define N in nvarchar and in nchar?
difference between drop and truncate command
difference between procedure and function
different types of databases in sql
Difference Between Update Lock and Exclusive Lock






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |