NiteCrawlr
Programmer
Hi.... again
I need some help:
I have a txt file which have this information:
21/06/2001;11:01:36
and I have a table like:
CREATE TABLE LOGTABLE (
DAT_CIS DATE,
HOR_CIS DATE)
I'm having problems in making an INSERT in this table. I want the DAT_CIS to have only the date and the HOR_CIS to have only the hour. I've tried to use the SQL*loader but the data looks something like this:
DAT_CIS HOR_CIS
-------- --------
21/06/01 01/06/01
and I have a JAVA application which take the info from the table and use it. I've also tried to change the fild type from DATE to VARCHAR but the JAVA app stop functioning.
the insert comm I'm using is like:
insert into logtable (dat_cis, hor_cis) values ("12/12/01","13:04:00"
and the error is like:
ORA-00984: column not allowed
Thank you very much
I need some help:
I have a txt file which have this information:
21/06/2001;11:01:36
and I have a table like:
CREATE TABLE LOGTABLE (
DAT_CIS DATE,
HOR_CIS DATE)
I'm having problems in making an INSERT in this table. I want the DAT_CIS to have only the date and the HOR_CIS to have only the hour. I've tried to use the SQL*loader but the data looks something like this:
DAT_CIS HOR_CIS
-------- --------
21/06/01 01/06/01
and I have a JAVA application which take the info from the table and use it. I've also tried to change the fild type from DATE to VARCHAR but the JAVA app stop functioning.
the insert comm I'm using is like:
insert into logtable (dat_cis, hor_cis) values ("12/12/01","13:04:00"
and the error is like:
ORA-00984: column not allowed
Thank you very much