docs.intersystems.com
Home / Class Definition Reference / Property Keywords / SqlFieldName


Class Definition Reference
SqlFieldName
Previous section           Next section
InterSystems: The power behind what matters   
Search:  


Specifies the field name to use in the SQL projection. Applies to persistent classes.
Usage
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.
Details
This keyword specifies the column name used to identify the property in its SQL projection.
Default
If you omit this keyword, the property name is used as the SQL column name.
See Also


Previous section           Next section
View this book as PDF
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-02-18 22:53:32