APPX Software Library

Appendix E: System Limits

Maximum Values

Table E–1 lists the maximum sizes for various attributes of the ODBC Server environment.

Table E–1. ODBC Server System Limits
AttributeNameValue
Maximum number of procedure arguments in an SQL CALL statementTPE_MAX_PROC_ARGS50
Maximum length of an SQL statementTPE_MAX_SQLSTMTLEN35000
Maximum length of a column: standard data typesTPE_MAX_FLDLEN2000
Maximum length of a column: VARBINARY and VARCHAR specifying the character set designated as NATIONAL CHARACTER by the underlying storage systemTPE_EXT_MAX_FLDLEN32752
Maximum length of default value specificationTPE_MAX_DFLT_LEN250
Maximum length for an identifier (TPE_MAX_IDLEN32
Maximum length of a connect stringTPE_MAX_CONNLEN100
Maximum length for a user-name in a connect stringTPE_UNAME_LEN32
Maximum number of database connectionsTPE_MAX_NO_CONN10
Maximum length of an error messageTPE_MAX_ERRLEN256
Maximum number of columns in a tableTPE_MAX_FIELDS500
Maximum number of index components for a table, for all indexes on that tableSQL_MAXIDXENTRIES100
Maximum length of a CHECK constraint clauseSQL_MAXCHKCL_SZ240
Maximum number of check constraints in a tableSQL_MAXCHKCNSTRS1000
Maximum number of foreign constraints in a tableSQL_MAXFRNCNSTRS1000
Maximum number of nesting levels in an SQL statementSQL_MAXLEVELS25
Maximum number of table references in an SQL statement: Microsoft WindowsSQL_MAXTBLREF50
Maximum number of table references in an SQL statement: other platformsSQL_MAXTBLREF250
Maximum size of input parameters for an SQL statementSQL_MAXIPARAMS_SZ512
Maximum number of outer references in an SQL statementSQL_MAX_OUTER_REF25
Maximum nesting level for view referencesMAX_VIEW_LEVEL25