I’ve tried
select top 1 * from tbl select top(1) * from tbl select * from tbl limit 1
Nothing worked.
Does SQL Server Compact Edition support getting the top x rows?
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.
Yes it does, and your second syntax should be correct. What happens when you try it?
However, the keyword was added in version 3.5, so if you are using an earlier version, then the answer is no it doesn’t. Sorry.