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.

Managing server attributes<br />

Defining constraint definitions in <strong>Data</strong> Administration<br />

Use the procedures described in the following sections to define constraint definitions<br />

in <strong>Data</strong> Administration:<br />

• Defining a primary key constraint definition<br />

• Defining a unique key constraint definition<br />

• Defining a <strong>for</strong>eign key constraint definition<br />

• Defining a check constraint definition<br />

• Defining a default constraint definition<br />

The dialog boxes <strong>for</strong> defining primary, unique, and clustered index constraint<br />

definitions contain a common section that displays current settings <strong>for</strong> both <strong>OpenEdge</strong><br />

properties and defined constraint definitions, a sample of which is shown in Figure 15.<br />

Figure 15: Index properties<br />

Possible values <strong>for</strong> each field are:<br />

• C — A C in a column indicates that a constraint definition of this type is currently<br />

defined. The constraint definition can be created in the <strong>for</strong>eign database if you<br />

configure your migration to migrate constraint definitions.<br />

• I — An I indicates that the property is currently defined your <strong>OpenEdge</strong> database.<br />

Defining a primary key constraint definition<br />

The following procedure describes how to define a primary key constraint definition.<br />

To define a primary key 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 />

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

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

Saved successfully!

Ooh no, something went wrong!