Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Oracle Date fields and perl

by arturo (Vicar)
on Mar 05, 2003 at 20:36 UTC ( #240694=note: print w/replies, xml ) Need Help??


in reply to Oracle Date fields and perl

I would use Oracle's built-in to_date(datestring, formatstring) function, e.g.:

UPDATE table SET date_field = to_date(?, 'YYYYMMDDHH24MISS') WHERE id = ?
, assuming of course that by "hh" you mean 24-hour.

If not P, what? Q maybe?
"Sidney Morgenbesser"

Replies are listed 'Best First'.
Re: Re: Oracle Date fields and perl
by abhishes (Friar) on Mar 05, 2003 at 22:28 UTC
    that works! thank you.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2023-06-08 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (29 votes). Check out past polls.

    Notices?