Perl Monk, Perl Meditation | |
PerlMonks |
Re: Not able to find dateTime value using sqlby space_monk (Chaplain) |
on Nov 14, 2012 at 12:49 UTC ( [id://1003791]=note: print w/replies, xml ) | Need Help?? |
You really should be using some of the DB libraries instead of executing a shell command to access the database. Are you sure the command is actually returning a full datetime? After all, chomp only removes the ending record separator (line feeds) and the s// statement only removes quote marks, leading me to believe the output of your SQL is incorrect.
A Monk aims to give answers to those who have none, and to learn from those who know more.
In Section
Seekers of Perl Wisdom
|
|