SAP Knowledge Base Article - Preview

2032279 - Errors 11736 and 11031 on first post-upgrade execution of trigger - SAP ASE

Symptom

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.


Read more...

Environment

  • SAP Sybase Adaptive Server Enterprise (ASE) 15.7
  • SAP Sybase Adaptive Server Enterprise (ASE) 16.0

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0

Keywords

upgrade_object, CR759937, CR#759937, 759937, execute, immediate , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed

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.