Oracle Trigger creation with compilation errors, ORA-02289: sequence does not exist

后端 未结 2 1945
栀梦
栀梦 2021-01-29 11:39

When I generate the SQL using PowerDesigner and run it in Oracle, it throws the error

Warning:Trigger creation with compilation errors

相关标签:
2条回答
  • 2021-01-29 11:54

    Before create trigger you need create sequnce Create sequence material_classify_seq start with 1; after create trigger

    0 讨论(0)
  • 2021-01-29 12:12

    The error message suggests that sequence material_classify_seq is missing. You can create the missing sequence with the following SQL statement:

    Create Sequence material_classify_seq;
    
    0 讨论(0)
提交回复
热议问题