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.

Chapter 7: The <strong>Data</strong><strong>Server</strong> Tutorial<br />

Deleting an existing constraint definition<br />

Once you have defined a constraint definition, you can delete it. The following<br />

procedures demonstrate how to delete all constraint definitions or one class of<br />

constraint definitions.<br />

To delete one constraint definition:<br />

1. Start <strong>Data</strong> Administration and connect to the <strong>OpenEdge</strong> database you are<br />

migrating.<br />

2. Select <strong>Data</strong><strong>Server</strong>→ MS <strong>SQL</strong> <strong>Server</strong> Utilities→ <strong>Server</strong> Attributes→<br />

View/Maintain Foreign Constraints. The View/Maintain Foreign Constraint<br />

Definitions dialog box appears.<br />

3. Select the table and constraint definition you want to delete.<br />

4. Click Delete Constraints to delete the selected constraint definition.<br />

To delete all constraint definitions or all of a particular type of constraint<br />

definition:<br />

1. Start <strong>Data</strong> Administration and connect to the <strong>OpenEdge</strong> database you are<br />

migrating.<br />

2. Select <strong>Data</strong><strong>Server</strong>→ MS <strong>SQL</strong> <strong>Server</strong> Utilities→ <strong>Server</strong> Attributes→ Delete<br />

Constraints. The Delete Constraints dialog box appears, as shown in Figure 22.<br />

Figure 22: Delete Constraint Definitions dialog box<br />

3. Select the Constraint type, either ALL or a specific sub-set.<br />

4. Click OK to delete the constraint definitions. You are prompted to confirm your<br />

decision. Click Yes to delete the constraint definitions or Cancel to exit without<br />

deleting the constraint definitions.<br />

Generating constraint definitions from ROWID<br />

During the pull phase of a schema migration, choosing Select ‘Best’ ROWID Index<br />

with Foreign Schema, defers to the server API to determine the “best” index choice.<br />

The best index choice is based on many factors specific to the server and may provide<br />

insight into the server benefits of a particular index selection <strong>for</strong> ROWID.<br />

You can choose to re-migrate your <strong>OpenEdge</strong> schema based on the previously derived<br />

ROWID designations, by using one of the following:<br />

290 <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!