By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,162 Members | 1,061 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,162 IT Pros & Developers. It's quick & easy.

SQL update: Expected end of statement

P: 1
I just joined this forum so I am not sure if this topic has already been covered in previous posts.

I am trying to write code for table update in my web app. I keep getting the following error:

Source line: Set Poll = "&p_poll&", Result = "&p_result&"
Description: Expected end of statement

Here is the code I am using:

Update tblCandidate
Set Poll = "&p_poll&", Result = "&p_result&"
where cadidateID = "&p_candidateID&";

can anyone shed some light?

Nov 15 '14 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.