Enable/Disable Trigger in Sybase

Mauro picture Mauro · Jun 27, 2011 · Viewed 9.9k times · Source

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

Answer

martin clayton picture martin clayton · Jun 27, 2011

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.