Home  /  Application Development: Core Topics  /  Class Definition Reference  /  Property Keywords  /  SqlFieldName

Class Definition Reference
[Back]  [Next] 
InterSystems: The power behind what matters   

Specifies the field name to use in the SQL projection. Applies to persistent classes.
To override the default name for this property when the table is projected to SQL, use the following syntax:
Property name As classname [ SqlFieldName = sqlfieldname ];
Where sqlfieldname is an SQL identifier.
This keyword specifies the column name used to identify the property in its SQL projection.
If you omit this keyword, the property name is used as the SQL column name.
See Also