Symptom
After upgrading ASE from 16 SP03 PL02 to 16 SP03 PL07 HF1, INSERT statement in a stored procedure raised error#213 when not specifying column names list
CREATE table T1(a char(3), b char(11), c char(10), d datetime, e datetime, f varchar(64), g varchar(32) null)
--It's OK.
INSERT t(a, b, c, d, e, f) values('a', 'a', 'a', '04/14/20', '03/14/20', 'K')
go
--It's raised error#213.
INSERT t values('a', 'a', 'a', '04/14/20', '03/14/20', 'K')
go
Msg 213, Level 16, State 4:
Server 'ASE', Line 1:
Insert error: column name or number of supplied values does not match table definition.
Read more...
Environment
SAP Adaptive Server Enterprise (ASE) 16 SP03 PL07 HF1
Product
Keywords
"dbcc upgrade_object usage", "alter table" , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview