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.

Delta df to MS <strong>SQL</strong> <strong>Server</strong> Incremental Schema Migration utility<br />

The Incremental Schema Migration utility generates <strong>SQL</strong> that will create objects in the<br />

MS <strong>SQL</strong> <strong>Server</strong> database that are compatible with <strong>OpenEdge</strong>. Table 54 shows that the<br />

utility creates the same objects as the <strong>OpenEdge</strong> DB to MS <strong>SQL</strong> <strong>Server</strong> migration<br />

utility.<br />

Table 54: MS <strong>SQL</strong> <strong>Server</strong> equivalents of <strong>OpenEdge</strong> objects<br />

<strong>OpenEdge</strong> object MS <strong>SQL</strong> <strong>Server</strong> equivalents<br />

Array One column <strong>for</strong> each extent of the<br />

<strong>OpenEdge</strong> array.<br />

Table For new tables, if the Create RECID<br />

Field option was selected, a<br />

PROGRESS_RECID column and<br />

associated triggers are created. This<br />

indexed column provides a unique key<br />

on the MS <strong>SQL</strong> <strong>Server</strong> table.<br />

The utility ensures that the migrated objects have names that are unique to the MS <strong>SQL</strong><br />

<strong>Server</strong> database. If you have given the object a name that is not unique, it drops<br />

characters from the end of the name and appends numbers until it creates a unique<br />

name.<br />

Since MS <strong>SQL</strong> <strong>Server</strong> requires that index names be unique to the database, the utility<br />

appends the table name to the indexed column name to create a unique name.<br />

Updating the MS <strong>SQL</strong> <strong>Server</strong> database<br />

You should review, and modify if necessary, the delta.sql file that the utility<br />

generates be<strong>for</strong>e applying it. You can apply the delta.sql file to the MS <strong>SQL</strong> <strong>Server</strong><br />

database through <strong>SQL</strong>-based tools.<br />

After applying the delta.sql file to the MS <strong>SQL</strong> <strong>Server</strong> database, you must update the<br />

original schema holder by loading the new delta.df file into the original schema holder<br />

so that the original schema holder reflects the modifications you made to the MS <strong>SQL</strong><br />

<strong>Server</strong> database.<br />

<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> 307

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

Saved successfully!

Ooh no, something went wrong!