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.

Prime to ROWID identification<br />

inaccessible to <strong>Data</strong><strong>Server</strong>s). It also makes the designated primary and/or<br />

clustered index now eligible <strong>for</strong> ROWID candidacy during migration.<br />

Note: When the RECID field is used in this way, it is named<br />

PROGRESS_RECID_UNIQUE, and not _PROGRESS_RECID. The name<br />

change allows it to be utilized by the trigger and/or computed column,<br />

and be populated on CREATE, but the name uniqueness prevents it<br />

from being identified as a ROWID candidate by itself from the<br />

dictionary utilities.<br />

• Select ‘Best’ ROWID INDEX<br />

Unselected by default, this option is mutually exclusive with the Create RECID<br />

Field For options. If the Create RECID Field For options are unselected, this<br />

option becomes mandatory.<br />

When selected and used in conjunction with Migrate Constraints and/or Try<br />

Primary <strong>for</strong> ROWID, it becomes a secondary path in the search <strong>for</strong> the<br />

designated ROWID index. The primary and clustered selections associated with<br />

those options will take priority in ROWID selection.<br />

Note: This is a schema “pull” option, not a database “push” option and is there<strong>for</strong>e<br />

unaffected by the Create RECID Field - For ROWID Uniqueness when<br />

that option is selected.<br />

– Using OE Schema (default) — Locate an existing index to use as ROWID,<br />

if it qualifies, according to the requirements of the OE Schema. The criteria<br />

of the OE Schema is described in the “Best index selection” section on<br />

page 263. If a Best index selection can be found in the OE Schema, it is<br />

designated as ROWID. Selecting this option provides backward compatibility<br />

with earlier releases when those legacy migrations had the Create RECID<br />

Field unselected.<br />

– Using Foreign schema — Locate an existing index to use as ROWID from<br />

the ODBC API that evaluates best index on the server. If a Best Index<br />

selection can be found through the ODBC API, it is designated as ROWID.<br />

Best index selection<br />

The best index algorithm is used in the pull criteria when a primary index has not been<br />

found to support ROWID through both dictionary and <strong>Data</strong><strong>Server</strong> methodologies that<br />

examine indexes in search of the optimal ROWID. The best index selection algorithm<br />

takes place during schema pull after all the server objects are created. Prior to<br />

Progress Version 7.3, a unique index with a single mandatory integer column was<br />

required to set RECID/ROWID. From Version 7.3 until <strong>OpenEdge</strong> Release 11.0, a<br />

single column index may be selected automatically if one or many columns exist that<br />

meet the criteria of being mandatory and unique.<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> 263

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

Saved successfully!

Ooh no, something went wrong!