Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Dumper with DBI/DBD?

by moritz (Cardinal)
on Jul 30, 2012 at 10:04 UTC ( #984414=note: print w/replies, xml ) Need Help??


in reply to Dumper with DBI/DBD?

Since your question has already been answered, here a small suggestion on how to do your SQL query:

$sql = "insert into test (one, two, three) VALUES (?,?,str_to_date(?, +'%Y-%m-%d %h:%i:%s %p'))"; @params = ('4', '5', $time_value);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://984414]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2016-09-27 12:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (502 votes). Check out past polls.