Caché Class Definition Reference
SqlName
[Back] 
   
Server:docs2
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

Specifies an SQL alias for the foreign key.
Usage
To override the default SQL name for this foreign key, use the following syntax:
ForeignKey keyname(key_props) References pkg.class(ref_props) [ SqlName = alternate_name ];
Where alternate_name is an SQL identifier.
Details
This keyword lets you define an alternate name for this foreign key when referred to via SQL.
Default
If you omit this keyword, the SQL name for the foreign key is keyname as specified in the foreign key definition.
See Also