unable to change field type - urgent [message #69548] |
Wed, 30 January 2002 10:32 |
riz1
Messages: 2 Registered: January 2002
|
Junior Member |
|
|
Hi
I'm trying to upload data from TXT file, bud due to data quality I change the date field to varchar2 and it's working fine. But after successfull upload I'm unable to change VARCHAR2 to DATE. I'll appreciate if any one who can help me
|
|
|
|
|
Re: unable to change field type - urgent [message #69711 is a reply to message #69548] |
Sat, 23 February 2002 02:53 |
Manjunath
Messages: 9 Registered: July 2000
|
Junior Member |
|
|
HI,
In case of uploading there is no need to change a date field to varachar2. For this just u update ur control file and make where ever u r having date fields as fil_date DATE 'DD-MM-YYYY HH24:MI:SS'
for eg :-
LOAD DATA
INFILE '/users2/manjudv/lst/GCTSIS_20020220.lst'
APPEND INTO TABLE GCTSIS
FIELDS TERMINATED BY '^T'
(
Field1 char(2),
Filed_dt DATE 'DD-MM-YYYY HH24:MI:SS',
Field2 char
)
Hope this may solve ur problem
|
|
|