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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2: Initial Programming Considerations<br />

• Generate Delta.sql <strong>OpenEdge</strong> to MS <strong>SQL</strong> <strong>Server</strong><br />

• Dump as Create Table Statement<br />

Update/Add Table definitions utility<br />

The Update/Add Table Definitions utility allows you to pull definitions from a table in a<br />

<strong>for</strong>eign data source. The table may be new or already exist in the schema holder, in<br />

which case you can add definitions or update definitions that are outdated. By default,<br />

MS <strong>SQL</strong> <strong>Server</strong> DATETIME and SMALLDATETIME data types are mapped to the<br />

<strong>OpenEdge</strong> DATE data type. The utility allows you to change the mapping to <strong>OpenEdge</strong><br />

DATETIME.<br />

Note: Since time zone support is new in 10.2B, any DATETIMEOFFSET column pulled<br />

from an MSS <strong>SQL</strong> <strong>Server</strong> 2008 or later database is automatically mapped to<br />

DATETIME-TZ by default.<br />

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

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

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

selecting the following 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<br />

MS <strong>SQL</strong> <strong>Server</strong> 2008, uncheck the Map to MSS ‘Datetime’ Type option in the<br />

<strong>OpenEdge</strong> to MS <strong>SQL</strong> <strong>Server</strong> Conversion Advanced Options dialog (You can open<br />

this dialog by clicking the Advanced button on the Figure 24.)<br />

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

target is not an MS <strong>SQL</strong> <strong>Server</strong> 2008 database or above.You will receive an<br />

error message if you try to connect to a version of MS <strong>SQL</strong> <strong>Server</strong> prior to<br />

82 <strong>OpenEdge</strong> <strong>Data</strong> <strong>Management</strong>: <strong>Data</strong><strong>Server</strong> <strong>for</strong> <strong>Microsoft</strong> <strong>SQL</strong> <strong>Server</strong>

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

Saved successfully!

Ooh no, something went wrong!