Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

536 B
Raw Blame
- statement: CREATE TABLE t(a int);
- statement: |-
    CREATE TABLE account (acct_num INT, amount DECIMAL(10,2));
    CREATE TRIGGER ins_sum BEFORE INSERT ON account
       FOR EACH ROW SET @sum = @sum + NEW.amount;
  want:
    - status: 2
      code: 610
      title: TABLE_DISALLOW_TRIGGER
      content: |-
        Trigger is forbidden, but "CREATE TRIGGER ins_sum BEFORE INSERT ON account
           FOR EACH ROW SET @sum = @sum + NEW.amount;" creates
      startposition:
        line: 2
        column: 0
      endposition: null