Oracle DB 12.2.0
REL 7.4
Hello Team,
is there a way I can specify the default date for field date1?
CREATE TABLE archicom_2020 (
type char(4) DEFAULT '' NOT NULL,
cc1 char(4) DEFAULT '' NOT NULL ,
calling varchar2(20) DEFAULT '' NOT NULL,
cc2 char(4) DEFAULT '' NOT NULL,
called varchar(20) DEFAULT '' NOT NULL,
date1 timestamp DEFAULT '0000-00-00 00:00:00' to_timestamp(date1,'YYYY-MM-DD HH24:MI:SS') NOT NULL, <-----------------------------
duration int DEFAULT '0' NOT NULL,
region char(4) DEFAULT '' NOT NULL,
cell varchar2(5) DEFAULT '' NOT NULL,
IMEI varchar2(16) DEFAULT '' NOT NULL,
IMSI varchar2(16) DEFAULT '',
rectype number(5,0) DEFAULT '0' NOT NULL ,
msisdn_type varchar2(3) DEFAULT '' NOT NULL
) tablespace TEST_TBS;
Regards,
Joe