Transaction rollbacks   

Chapter 6: SQLSTATE Codes and Messages

with check option violation

This class of exception occurs when data being inserted or updated through a view would not be visible through the view.

Table 6-8: with check option violation

Message

Value

Description

The attempted insert or update failed because the target view was either created WITH CHECK OPTION or spans another view created WITH CHECK OPTION. At least one resultant row from the command would not qualify under the CHECK OPTION constraint.

44000

Occurs when a view, or any view on which it depends, was created with a with check option clause.





Copyright © 2005. Sybase Inc. All rights reserved.  

View this book as PDF