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.

Migrating an <strong>OpenEdge</strong> database to MS <strong>SQL</strong> <strong>Server</strong><br />

Table 52: <strong>OpenEdge</strong>-to-MS <strong>SQL</strong> <strong>Server</strong> Conversion utility batch<br />

parameters (3 of 3)<br />

Environment<br />

variable Description<br />

GENPRIMEROWID Generates the PROGRESS_RECID column <strong>for</strong> tables and<br />

make it the MSS primary. This option attaches<br />

PROGRESS_RECID to the end of the index component<br />

sequence to achieve the uniqueness and the ROWID<br />

designation.<br />

GENUNIQROWID Generates the PROGRESS_RECID column <strong>for</strong> tables whose<br />

clustered index selection does not qualify <strong>for</strong> ROWID<br />

designation because it lacks uniqueness. This option<br />

attaches PROGRESS_RECID to the end of the index<br />

component sequence so that uniqueness and ROWID<br />

designation are achieved.<br />

4. Enter the following commands to set and export environment variables at the<br />

system prompt:<br />

5. Run protomss.p.<br />

If you set the option to either GENROWID or<br />

GENPRIMEROWID, then the system will ignore this setting.<br />

If you do not set the option to either MIGRATE CONSTR and<br />

MAPOEPRIMARY, then the system will ignore this setting<br />

GETBESTOEROWID Selects the best ROWID index using the OE ROWID<br />

selection criteria established in previous releases. As in<br />

previous releases, GETBESTOEROWID selection process is<br />

mutually to the GENROWID or COMPATIBLE options of the<br />

past. In 11.0, the GETBESTOEROWID selection is mutually<br />

exclusive with the GENROWID and GENPRIMEROWID<br />

options. If either one of these is set, the GETBESTOEROWID<br />

option is ignored.<br />

GETBESTFORROWID Selects the best ROWID index using the <strong>for</strong>eign schema<br />

selection criteria through a database API to establish the<br />

best ROWID selection.<br />

PRODBNAME=db-name; export PRODBNAME<br />

PROCONPARMS="-1 -i"<br />

SHDBNAME=schema-holder-name; export SHDBNAME<br />

.<br />

.<br />

.<br />

pro -b -p prodict/mss/protomss.p<br />

The GETBESTFORROWID selection is mutually exclusive<br />

with the GENROWID and GENPRIMEROWID options. If either<br />

one of these is set, the GETBESTFORROWID option is<br />

ignored.<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> 301

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

Saved successfully!

Ooh no, something went wrong!