This structure is used to provide code set and territory options to sqlecrea - Create Database.
Table 45. Fields in the SQLEDBCOUNTRYINFO Structure
Field Name | Data Type | Description |
---|---|---|
SQLDBCODESET | CHAR(9) | Database code set. |
SQLDBLOCALE | CHAR(5) | Database territory. |
Language Syntax
C Structure
/* File: sqlenv.h */ /* Structure: SQLEDBCOUNTRYINFO */ /* ... */ SQL_STRUCTURE sqledbcountryinfo { char sqldbcodeset[SQL_CODESET_LEN + 1]; char sqldblocale[SQL_LOCALE_LEN + 1]; }; /* ... */ |
COBOL Structure
* File: sqlenv.cbl 01 SQLEDBCOUNTRYINFO. 05 SQLDBCODESET PIC X(9). 05 FILLER PIC X. 05 SQLDBLOCALE PIC X(5). 05 FILLER PIC X. * |