RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCheckConstraint.CustomConstraint Property

Contains the SQL text representation of a constraint defined on a record by an application.

Pascal
property CustomConstraint: string;
C++
__property AnsiString CustomConstraint;

Use CustomConstraint to store the SQL text that defines a check constraint defined by the application for a dataset component. Custom constraints are local to the application and do not get applied by the server when an application writes its changes to a database.

Note: Custom constraints are SQL expressions. Because of this, always use a period (.) as a floating-point separator. This may be inconsistent with international Windows
settings.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!