Can you plz share the ddl? It works fine :
create table mmmmmm(year1 smallint, month1 smallint, day1 smallint);
insert into mmmmmm values( 1987,2,14);
insert into mmmmmm values( .......);
select (year1-1900)*10000 +month1*100 +day1 (date) from your_tbl;
Can you plz share the ddl? It works fine :
create table mmmmmm(year1 smallint, month1 smallint, day1 smallint);
insert into mmmmmm values( 1987,2,14);
insert into mmmmmm values( .......);
select (year1-1900)*10000 +month1*100 +day1 (date) from your_tbl;