Código SQL [-] IF @@ERROR = 547 print "A check constraint violation occurred"
IF @@ERROR = 547 print "A check constraint violation occurred"