Caché Class Definition Reference
OdbcType
[Back] [Next]
   
Server:docs1
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

Specifies the type used when this data type is exposed via ODBC or JDBC. Every data type class must specify an ODBC type. This keyword applies only to data type classes.
Usage
To specify the type to use when this data type is projected via ODBC or JDBC, use the following syntax:
Class MyApp.MyString [ ClassType = DataType, OdbcType = odbctype ] 
{
//class members
}
Where odbctype is one of the following:
Details
This keyword specifies the type used when exposed via ODBC or JDBC.
Every data type class must specify an ODBC type.
Effect on Subclasses
This keyword is inherited from the primary superclass. The subclass can override the value of the keyword.
Default
If you omit this keyword, the ODBC type is VARCHAR.
See Also