CREATE TRIGGER my_before_trigger FOR MY_TABLE BEFORE INSERT AS BEGIN IF (NEW.my_number IS NULL) THEN NEW.my_number = GEN_ID(MY_GENERATOR, 1); END;
Swears at the sixth line (Unexpected end of command). What is the error code?
Source: https://ru.stackoverflow.com/questions/104022/
All Articles