Is it possible to delete the first record from a table in SQL Server, without using any WHERE condition and without using a cursor?
Is it possible to delete the first record from a table in SQL Server
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Note that
will also work, but, as stated in the documentation:
Therefore, it’s better to use
WITHand anORDER BYclause, which will let you specify more exactly which row you consider to be the first.