Possible Duplicate:
How to write a (MySQL) “LIMIT” in SQL Server?
How do I change my query with LIMIT for SQL-Server?
SELECT apretiz FROM tableApoint WHERE price = '$newprice' LIMIT 5;
How do I change LIMIT 5,10? Can I use TOP for it?
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.
As i said it less than one hour ago, you have to use TOP ! (LIMIT is used for MYSQL)
So try to remove
LIMIT 5and doSELECT TOP(5) apretiz.Also, try to add order by (same reason than before).
Please make a search before asking things. Link to old question