Page tree
Skip to end of metadata
Go to start of metadata

 line %d: You cannot specify this command in an 'execute immediate' context.

Explanation:  As documented in the ASE 15.7.x Reference Guide,

You cannot supply string and char_variable options to execute the following commands:

  •  use
  • exec(string) (not the execute stored procedure)
  • connect
  • begin transaction
  • rollback
  • commit
  • dbcc
  • No labels