Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: sysdate on sqlldr

Re: sysdate on sqlldr

From: Ron Reidy <rereidy_at_indra.com>
Date: Mon, 07 Jan 2002 17:42:53 -0700
Message-ID: <3C3A408D.E195E3A8@indra.com>


Gary Turner wrote:
>
> does anyone know how to get the date and time using the sysdate function on
> sqlldr. i can only get the date to be displayed. i have tried the on two
> different operating systems and see the same output.
A date datatype includes time. You can do the following in SQL*Plus:

  1. alter session set NLS_DATE_FORMAT = <date/time picture>;
  2. select to_char(column, <date/time picture>) from table;

See the Oracle docs for more info.

-- 
Ron Reidy
Oracle DBA
Received on Mon Jan 07 2002 - 18:42:53 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US