User-Defined SQL Datatypes
Synopsis
[SqlUserDatatypes] x=a
Description
The [SqlUserDatatypes] section contains a user-defined datatype descriptions. Each description maps an SQL datatype to its Caché equivalent in the format x=a, as follows:
-
Each keyword x is the name of the SQL datatype plus any allowed arguments.
-
The value a is the Caché equivalent, including any constraints on the arguments.
With the following line in the CPF file, when MYVARCHAR(10) is seen in a statement, the property is created with type %Library.String(MAXLEN=10,TRUNCATE=0).
MYVARCHAR(%1)=%Library.String(MAXLEN=%1,TRUNCATE=0)
As described above.
On the page System Administration > Configuration > SQL and Object Settings > User-defined DDL Mappings, select Create New User-defined DDL Mapping or Edit to modify list of mappings.