03-23-2007, 10:54 AM
|
|
|
Confirmed User
Industry Role:
Join Date: Jun 2004
Location: New York, NY
Posts: 6,890
|
Quote:
Originally Posted by Kaylum
hey there
he wrote that he wasn't fully awake ;)
there is some garbage in the sql, (FROM and FOR).. the sql should read:
UPDATE b1datefix SET date2 = CONCAT(SUBSTRING(date,-4),'-',SUBSTRING(date,1,2),'-',SUBSTRING(date, -7,2));
let us know how it goes ;)
peace
|
Thanks, though FROM FOR works as well just I had a comma I shouldn't have 
__________________
Skype variuscr - Email varius AT gmail
|
|
|