Search code examples
sybase-asa

Enable/Disable Trigger in Sybase


What's wrong with that query?

alter table TableName enable trigger 'TriggerName'

Error is

Line 1, column 30
Could not execute statement.
ASA Error -131: Syntax error nera 'enable' on line 1

Solution

  • The error message is from Sybase SQL Anywhere (ASA), but the syntax you're trying to use is not valid in ASA, it would be in Adaptive Server (ASE) though. I don't think there is an equivalent in ASA.