今天在做sp的时候,发现在oracle中语句
insert into tb1 (xxx,xx,xx)
select xxx,xx,xx from tb2
tb1 与 tb2 中,如果是字符串类型的数据最好用自动增长型的,否则可能会在原有数据后补齐空格空位
今天在做sp的时候,发现在oracle中语句
insert into tb1 (xxx,xx,xx)
select xxx,xx,xx from tb2
tb1 与 tb2 中,如果是字符串类型的数据最好用自动增长型的,否则可能会在原有数据后补齐空格空位