I have the following with the datetime format
create table tabla
(
f_inicial date not null ,
f_final date not null ,
c_almacen varchar (250),
sw_costo smallint,
sw_consulta smallint,
usuario char(30) not null,
sw_genera_consulta smallint,
ts_creacion datetime year to fraction(3)
default current year to fraction(3)
);
I need to separate the date and time in the ts_creation field
usuario ts_creacion
ct060901 2017-06-15 10:29:00.000
ct060901 2017-06-15 10:34:08.000