Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: DBI Date Formatting

by dba (Monk)
on Jun 16, 2004 at 16:59 UTC ( #367306=note: print w/replies, xml ) Need Help??


in reply to DBI Date Formatting

Issue the following SQL after you connect:

alter session set nls_date_format='YYYYMMDD';

Then all dates returned will be of the format you require.

Replies are listed 'Best First'.
Re^2: DBI Date Formatting
by Anonymous Monk on Jan 14, 2016 at 15:37 UTC
    You saved my life. :) alter session set nls_date_format='YYYY-MM-DD HH24:MI:SS'
Re^2: DBI Date Formatting
by Anonymous Monk on Mar 23, 2016 at 17:18 UTC

    Thank you. Thank you. Thank you.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2021-09-23 00:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?