Using Caché Objects - InterSystems Documentation
Using Caché Objects - InterSystems Documentation
Using Caché Objects - InterSystems Documentation
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Operation<br />
Data Type Class<br />
%Integer<br />
%List<br />
%Name<br />
%Numeric<br />
Supported Parameters<br />
DISPLAYLIST, FORMAT, MAXVAL, MINVAL, VALUELIST,<br />
XSDTYPE<br />
ODBCDELIMITER<br />
COLLATION, INDEXSUBSCRIPTS, MAXLEN, XSDTYPE<br />
DISPLAYLIST, FORMAT, MAXVAL, MINVAL, SCALE,<br />
VALUELIST<br />
%Status<br />
%String<br />
%Time<br />
%TimeStamp<br />
COLLATION, DISPLAYLIST, MAXLEN, MINLEN, PATTERN,<br />
TRUNCATE, VALUELIST, XSDTYPE<br />
DISPLAYLIST, FORMAT, MAXVAL, MINVAL, VALUELIST<br />
DISPLAYLIST, MAXVAL, MINVAL, VALUELIST<br />
11.2.3 Keywords<br />
To provide interoperability with client systems, data type classes include the following class<br />
keywords:<br />
• CLIENTDATATYPE — Specifies the Java or ActiveX type used when the data type is<br />
accessed via client applications. See CLIENTDATATYPE for the default for each data<br />
type.<br />
• ODBCTYPE — Specifies the ODBC type used when the data type is accessed via ODBC.<br />
See SQL and ODBC Methods for the default for each data type.<br />
• SQLCATEGORY — Specifies the SQL Category to use for the data type when the <strong>Caché</strong><br />
SQL engine performs operations upon it. See SQL and ODBC Methods for the default<br />
for each data type.<br />
11.2.3.1 CLIENTDATATYPE<br />
To use <strong>Caché</strong> data with any client system (such as Java or ActiveX), the data needs to be in<br />
a form that the client system can understand. To do this, <strong>Caché</strong> provides the CLIENT-<br />
DATATYPE class keyword, which specifies format information for how <strong>Caché</strong> projects a<br />
property to the client.<br />
The table below contains a list of CLIENTDATATYPE values and which classes use them:<br />
<strong>Using</strong> <strong>Caché</strong> <strong>Objects</strong> 93