Hi, RESENT DFUE TO TYPO I want to change a field in a table. Currently the data is in theformat --> 4818.50.00 I want to remove the decimal points so that it is like --> 48185000 I tried the sql code below but am getting a syntax error. Can someone please point out the error of my ways?
UPDATE DocComms SET ItemHSCode = concat(substr( ItemHSCode, 1, 4 ), substr( ItemHSCode, 6, 2 ), substr( ItemHSCode, 9, 2 )) Thanks, Don --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003 --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php