Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Query that Should Work - Doesn't 1

Status
Not open for further replies.

vpekulas

Programmer
Jan 8, 2002
154
CA

Why doesn't this query works ?

UPDATE tbl_settings SET fldPATH = 'E:\psa\vhosts\', fldURL='1', fldEMAIL='service@mc.com', fldSMTP='3', fldSHOW_NAMES=1 WHERE ID = 1


The error is:

[MySQL][ODBC 3.51 Driver][mysqld-4.0.16-nt]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 '1', fldEMAIL='service@multicalendars.com', fldSMTP='3', fldSHOW

I don't see anything wrong with this query :(

"Taxes are the fees we pay for civilized society" G.W.
 
SET fldPATH = 'E:\psa\vhosts\'

The backslash after vhosts escapes the quote. Thus, the entire line is included in the quotation. It Should be 'E:\\psa\\vhosts\\'


I REALLY hope that helps.
Will
 
Thanks, that worked :)

"Taxes are the fees we pay for civilized society" G.W.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top