Jesse Shy writes:
> I am push a couple of date fields to mysql via the myODBC driver, however
> the fields are in there original format as JUN01/01 and the like. Right now
> these fields are type CHAR and I cant do any calculations on them. Is there
> a built in function to make this a legitimate date or am I stuck munging it
> with Perl and reinserting it into date fields?
>
MySQL simply can not support any format as a legitimate one.
Dump a table, shuffle the values , change a type to DATE and restore
table.
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
---------------------------------------------------------------------
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