Doug:

>To see what I mean try something like this:
>$dbsrc->do("ALTER SESSION SET NLS_DATE_FORMAT='YYYY/MM/DD HH24:MI:SS'") ||
>die $dbsrc->errstr;

>print "$_ " for $dbsrc->selectrow_array("select sysdate from dual") or die
>"Couldn't get date $DBI->errstr";

>it still shows as 24-JAN-03 for me.

Odd-- it works fine here:

bash$ perl -MDBI -e '$dbh = DBI->connect("dbi:Oracle:", "steveh", "");
$\="\n"; print $dbh->selectrow_array("SELECT SYSDATE FROM dual");
$dbh->do("ALTER SESSION SET nls_date_format=\x27DD Mon YYYY
HH24:MI:SS\x27"); print $dbh->selectrow_array("SELECT SYSDATE FROM dual");'
27-JAN-03
27 Jan 2003 16:57:34

--
SRH


Please note that:
 
1. This e-mail may constitute privileged information. If you are not the intended 
recipient, you have received this confidential email and any attachments transmitted 
with it in error and you must not disclose, copy, circulate or in any other way use or 
rely on this information.
2. E-mails to and from the company are monitored for operational reasons and in 
accordance with lawful business practices.
3. The contents of this email are those of the individual and do not necessarily 
represent the views of the company.
4. The company does not conclude contracts by email and all negotiations are subject 
to contract.
5. The company accepts no responsibility once an e-mail and any attachments is sent.

http://www.activis.com




This annotation was added by the e-scan service.
http://www.activis.com
----------------------------------------------------------------------------------
This message has been checked for all known viruses by e:)scan.
For further information please contact [EMAIL PROTECTED]

Reply via email to