Change in schema
- Last Updated: January 17, 2024
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
There may be differences in the schema generated with each driver for the LOB and datetime data types.
Change in Schema for LOB data types
The schema changes for the LOB data types vary while creating the schema holder if you select the Default to OpenEdge LOB for: option for CLOB or BLOB in the Pre-Selection Criteria For Schema Pull dialog box. For more details, see Creating a schema holder .
The following table identifies the LOB datatypes for which there is a difference in the schema for each driver:
| Data Type | OpenEdge Wire Protocol Driver | SQL Server Driver | SQL Native Client 11 Driver | ODBC Driver 18 for SQL Server | OpenEdge Wire Protocol Driver1 | SQL Server Driver 1 | SQL Native Client 11 Driver 1 | ODBC Driver 18 for SQL Server 1 |
|---|---|---|---|---|---|---|---|---|
| nvarchar(max) | character
|
character
|
character
|
character
|
clob
|
clob
|
clob
|
clob
|
| varchar(max) | character
|
character
|
character
|
character
|
clob
|
clob
|
clob
|
clob
|
| varbinary(max) | character
|
character
|
character
|
character
|
blob
|
blob
|
blob
|
blob
|
| ntext | character
|
character
|
character
|
character
|
clob
|
clob
|
clob
|
clob
|
| text | character
|
character
|
character
|
character
|
clob
|
clob
|
clob
|
clob
|
| image | character
|
character
|
character
|
character
|
blob
|
blob
|
blob
|
blob
|
Change in Schema for Datetime data types
The schema changes for the Datetime data types vary while creating the schema holder if you select the Default to OpenEdge DATETIME option in the Pre-Selection Criteria For Schema Pull dialog box. For more details, see Creating a schema holder.
| Data Type | OpenEdge Wire Protocol Driver | SQL Server Driver | SQL Native Client 11 Driver | ODBC Driver 18 for SQL Server | OpenEdge Wire Protocol Driver2 | SQL Server Driver 2 | SQL Native Client 11 Driver2 | ODBC Driver 18 for SQL Server2 |
|---|---|---|---|---|---|---|---|---|
| date | date
|
not supported | date
|
date
|
date
|
not supported | date
|
date
|
| datetime | date
|
not supported | date
|
date
|
datetime
|
not supported | datetime
|
date
|
| smalldatetime | not supported | not supported | date
|
date
|
not supported | not supported | datetime
|
datetime
|
| datetime2 | not supported | not supported | datetime
|
datetime
|
not supported | not supported | datetime
|
datetime
|
| datetimeoffset | not supported | not supported | datetime-tz
|
datetime-tz
|
not supported | not supported | datetime-tz
|
datetime-tz
|
| time | not supported | not supported | character
|
character
|
not supported | not supported | character
|
character
|
FOREIGN-TYPE—Displays the foreign datatype.DSRVR-PRECISION—Displays the total number of digits in decimal fields or the precision of the field.DSRVR-SCALE—Displays the digits to the right of the decimal or the scale of the field.DSRVR-LENGTH—Displays the length of the field when represented by characters. For numbers, it defaults to the maximum limit allowed for a field.