insert into product (CategoriesId) values (2) where Categories=' ab '
error is
Incorrect syntax near the keyword ‘where’.
i cannot understand please help me
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.
If you want to update the username or in the main while you are not inserting the record. so use update query instead of insert query and for insert query Where clause is not used. Try this you can get your ans.. Good luck.