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
in control file specify <column name > sysdate will do.
ted chyn
"Gary Turner" <gary....@sci.com> wrote in message news:<x3o_7.147690$lV4.25...@e420r-atl1.usenetserver.com>...
you can specify sysdate in controlfile and have them formatted with time
component. here is an example of a controlfile to load data with datetime.
LOAD DATA
INFILE location_of_dat_file
INTO TABLE xyz
( rec_no "your_sequence.nextval",
date_inserted "to_char(SYSDATE, 'dd-mon-yyyy hh24:mi')",
col1 POSITION(1:5) "col1",
col2 POSITION(6:15) "col2",
data3 POSITION(16:22)"col3"
)
hth,
Stan