I'm running this query
UPDATE loans SET altloannumber = LTRIM( altloannumber, '0' ) WHERE investornumber =323;
the field altloannumber is a varchar field.
I get this error.
Any ideas?
UPDATE loans SET altloannumber = LTRIM( altloannumber, '0' ) WHERE investornumber =323;
the field altloannumber is a varchar field.
I get this error.
Error
SQL query:
UPDATE loaninfo SET altloannumber = LTRIM( altloannumber, '0' ) WHERE investornumber =323;
MySQL said:
#1064 - You have an error in your SQL syntax near ''0')WHERE investornumber=323' at line 2
Any ideas?