in reply to Dates and SQL
use Date::Format;Its perldoc is concise and tells all. Or, if the column is a timestamp field, just write NULL to it
Update: Re: OP reply; Check your database server or DBI driver docs to see what format SQL wants to see. "%c" gives ctime format, which the server may not use. Also, your driver may want $dbi->quote() applied to the data. Placeholder syntax would let you skip quoting and gain efficiency if you do several updates in a run.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Dates and SQL
by JungleBoy (Scribe) on Sep 27, 2001 at 06:17 UTC | |
by Jonathan (Curate) on Sep 27, 2001 at 11:14 UTC |