- You are using SELECT INTO to insert rows from another table into a #table.
- You have changed a corresponding tinyint column into int in the #table.
- You noticed the value inserted is wrong (i.e not the same as the source table).
create table testA (a tinyint not null)
select convert (int,0) a into #testA from testA where 1=2
insert into testA values (20)
select * into existing table #testA from testA
select * from #testA
(1 row affected)
SAP Adaptive Server Enterprise (ASE)
proxy, datatype, match , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.