If a trigger for a DML query has certain commands that execute immediate are not allowed, such as begin transaction, rollback transaction, etc, Error 11736 and 11031 could be raised on first post-upgrade execution of trigger:
Msg 11736, Level 15, State 0:
line %d: You cannot specify this command in an 'execute immediate' context.
Msg 11031, Level 16, State 1:
Execution of %S_MSG %.*s failed because of errors parsing the source text in syscomments during upgrade. Please drop and recreate %.*s.%.*s.
- SAP Sybase Adaptive Server Enterprise (ASE) 15.7
- SAP Sybase Adaptive Server Enterprise (ASE) 16.0
upgrade_object, CR759937, CR#759937, 759937, execute, immediate , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed
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.