Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
Incorrect syntax near the keyword 'WHERE'.
Violeta Popa
Apr 13 2013 2:30 PM
2.1k
Reply
Hi :) I have this code:
string insertNrContract = "INSERT INTO client (nr_contract) VALUES ('"
+ nr_contract + "') WHERE id_client='" + id_client + "'";
and i get the error:
Incorrect syntax near the keyword 'WHERE'. I don't get what's missing. Any help? thanks
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
Whether it is possible
when i select country on drop down list...