13.01.2013 Views

OpenEdge Data Management: DataServer for Microsoft SQL Server

OpenEdge Data Management: DataServer for Microsoft SQL Server

OpenEdge Data Management: DataServer for Microsoft SQL Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Schema Migration > <strong>OpenEdge</strong> DB to MS <strong>SQL</strong> <strong>Server</strong><br />

<strong>Data</strong> types<br />

By default, ABL DATE and DATETIME data types were mapped to MS <strong>SQL</strong> <strong>Server</strong> DATETIME data<br />

types. However, the migration tool provides you with the option of selecting the following<br />

datetime data type mapping:<br />

<strong>OpenEdge</strong> <strong>Data</strong> Type MSS <strong>Data</strong> Type<br />

DATE DATE<br />

DATETIME DATETIME2<br />

DATETIME-TZ DATETIMEOFFSET<br />

To override the default mapping and choose a mapping to the data types supported by MS <strong>SQL</strong><br />

<strong>Server</strong> 2008, uncheck the Map to MSS ‘Datetime’ Type option in the migration dialog:<br />

Note: Do not uncheck the Map to MSS ‘Datetime’ Type option if your migration target is<br />

not an MS <strong>SQL</strong> <strong>Server</strong> 2008 database or above. You will receive an error message if<br />

you try to connect to a version of MS <strong>SQL</strong> <strong>Server</strong> prior to 2008, or if you use a native<br />

driver lower than SNAC-10, or if you use a non-native driver to connect.<br />

Verify Table Definitions and Adjust Schema utilities<br />

The Verify Table Definitions utility enables you to verify that the definitions in the schema<br />

holder match the definition of objects in the <strong>for</strong>eign database. The Adjust Schema utility<br />

compares the connected <strong>OpenEdge</strong> database to the schema image in the connected schema<br />

holder and updates the <strong>OpenEdge</strong> attributes necessary <strong>for</strong> your ABL code to run against both<br />

data sources. Both utilities are updated to work with datetime data types.<br />

2–27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!