How to print SQLSTATE in messages

前端 未结 0 1511
忘了有多久
忘了有多久 2020-12-05 10:58

I want to print the sqlstate and sql message error when for example there\'s a null violation:

    EXCEPTION WHEN not_null_violation THEN
    narticlesp:=0;
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题