Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The conversion of a varchar data type to a datetime data type resulted + in an out-of-range value.
Thanks for looking!my $sth = $dbh->prepare_cached(<<SQL); update my_table set d_date = convert(datetime, ?, 120), name = ? SQL $sth->execute('2015-07-15', 'Foo');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Place Holders and SQL convert
by Corion (Patriarch) on Sep 17, 2015 at 18:00 UTC | |
by Anonymous Monk on Sep 17, 2015 at 18:06 UTC | |
by Corion (Patriarch) on Sep 17, 2015 at 18:11 UTC | |
by Anonymous Monk on Sep 17, 2015 at 18:10 UTC | |
by Corion (Patriarch) on Sep 17, 2015 at 18:12 UTC | |
by Anonymous Monk on Sep 17, 2015 at 18:24 UTC | |
by Corion (Patriarch) on Sep 17, 2015 at 18:29 UTC | |
|
Re: Place Holders and SQL convert
by poj (Abbot) on Sep 17, 2015 at 18:08 UTC |