JungleBoy has asked for the wisdom of the Perl Monks concerning the following question:
my $cur_time = localtime(); $sth = $dbh->prepare("UPDATE Schedules SET Date = '$cur_time' WHERE ID + = $id") or die "Couldn't prepare statement: $DBI::errstr; stopped";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dates and SQL
by Zaxo (Archbishop) on Sep 27, 2001 at 05:36 UTC | |
by JungleBoy (Scribe) on Sep 27, 2001 at 06:17 UTC | |
by Jonathan (Curate) on Sep 27, 2001 at 11:14 UTC | |
|
Re: Dates and SQL
by htoug (Deacon) on Sep 27, 2001 at 11:10 UTC | |
|
Re: Dates and SQL
by ducky (Scribe) on Sep 27, 2001 at 11:06 UTC | |
|
Re: Dates and SQL
by ralphie (Friar) on Sep 27, 2001 at 21:44 UTC |