Ask a Question related to Coldfusion Database Access, Design and Development.
-
ldebono #1
Update Statement error
Hello,
Ii'm receiving the syntax error listed below for my update statement. Doesn't
anyone have any ideas?
Syntax error or access violation: You have an error in your SQL syntax. Check
the manual that corresponds to your MySQL server version for the right syntax
to use near 'WHERE softwareID = '3'' at line 4
83 : SET softwareName = '#trim(Form.softwareName)#',
84 : softwareVersion = '#trim(Form.softwareVersion)#',
85 : WHERE softwareID = #val(Form.softwareID)#;
86 : </cfquery>
87 :
--------------------------------------------------------------------------------
SQL UPDATE software SET softwareName = 'AOL Instant Messenger',
softwareVersion = '5.9', WHERE softwareID = '3';
ldebono Guest
-
Syntax error in UPDATE statement.
ok i have an update form that i created it is for the admin of the site to add/edit user account info for memebers to login. the form adds or edits... -
Syntax Error Update Statement
Can someone tell me what's wrong with this code? I need help. Thanks! It is an update page. FIRST PAGE: LOGIN CHECK <!--- Filename: ... -
Error executing a cfquery update statement. PLEASE HELP
I have been over and over this. I am trying to update a simple table. I took this script from the same server using a different DSN. I keep... -
Syntax error in UPDATE statement- asp/jscript
Hi All! I have the following two methods in an asp/jscript page - my problem is that without the update statement there is no error, but with the... -
Syntax Error In Update Statement
I'm having a problem getting one piece of code to work on my app. It's a simple password change. For some reason, I've been getting the following... -
ldebono #2
Re: Update Statement error
Sorry! I found the extra comma before the WHERE clause.
ldebono Guest
-
paross1 #3
Re: Update Statement error
Get rid of the trailing comma after '5.9', and before WHERE:
UPDATE software
SET softwareName = 'AOL Instant Messenger', softwareVersion = '5.9'
WHERE softwareID = '3';
Phil
paross1 Guest



Reply With Quote

