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.

Contents<br />

Contents–4<br />

Starting a broker. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–23<br />

Starting the schema holder to accept remote client connections . . . . . . . 5–24<br />

Connecting remote clients to the MS <strong>SQL</strong> <strong>Server</strong> <strong>Data</strong><strong>Server</strong> broker . . . 5–24<br />

6. Connecting the <strong>Data</strong><strong>Server</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–1<br />

Starting a local <strong>Data</strong><strong>Server</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–2<br />

Starting a remote <strong>Data</strong><strong>Server</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–3<br />

Starting and stopping a broker process from the <strong>OpenEdge</strong> Explorer<br />

and Progress Explorer and connecting a client . . . . . . . . . . . . . . . . 6–3<br />

Starting and stopping a broker process using MSSMAN . . . . . . . . . . . . 6–5<br />

Starting and stopping a broker process from the command line . . . . . . . 6–6<br />

Starting the Windows client process . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–6<br />

Starting the UNIX client process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–7<br />

Connection guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–8<br />

Connections and security in Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–8<br />

Connecting a schema holder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–9<br />

Connecting a schema holder at startup . . . . . . . . . . . . . . . . . . . . . . . . . . 6–9<br />

Unsupported connection parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–14<br />

Special connection issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–14<br />

Binding with connection and startup parameters . . . . . . . . . . . . . . . . . . . 6–15<br />

Query tuning with connection and startup parameters . . . . . . . . . . . . . . 6–16<br />

Analyzing per<strong>for</strong>mance with the Enhanced Logger . . . . . . . . . . . . . . . . . 6–18<br />

Local schema caching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–26<br />

Connection failures and <strong>OpenEdge</strong> responses . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–28<br />

Connection troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–29<br />

Managing connections to an MS <strong>SQL</strong> <strong>Server</strong> database . . . . . . . . . . . . . 6–29<br />

Accessing the <strong>Data</strong><strong>Server</strong> log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–30<br />

7. The <strong>Data</strong><strong>Server</strong> Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–1<br />

Demonstration databases <strong>for</strong> <strong>Data</strong><strong>Server</strong> <strong>for</strong> MS <strong>SQL</strong> <strong>Server</strong> . . . . . . . . . . . . . . . . 7–2<br />

Preparing to create demonstration databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–3<br />

<strong>Data</strong><strong>Server</strong> utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–6<br />

Creating a schema holder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–8<br />

Updating a schema holder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–11<br />

Verifying a schema holder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–13<br />

Changing connection in<strong>for</strong>mation in a schema holder . . . . . . . . . . . . . . . . . . . . . . 7–17<br />

Changing a code page in a schema holder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–18<br />

Deleting a schema holder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–19<br />

Migrating an <strong>OpenEdge</strong> database to MS <strong>SQL</strong> <strong>Server</strong> . . . . . . . . . . . . . . . . . . . . . . 7–20<br />

Preparing a data source <strong>for</strong> the utility. . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–20<br />

Running the <strong>OpenEdge</strong> DB to MS <strong>SQL</strong> <strong>Server</strong> utility . . . . . . . . . . . . . . . 7–20<br />

Adjust schema utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–26<br />

Delta df to MS <strong>SQL</strong> <strong>Server</strong> Incremental Schema Migration utility . . . . . . . . . . . . . 7–27<br />

Updating the MS <strong>SQL</strong> <strong>Server</strong> database. . . . . . . . . . . . . . . . . . . . . . . . . . 7–31<br />

Modifying a schema holder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–32<br />

Modifying table-level in<strong>for</strong>mation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–32<br />

Modifying field-level in<strong>for</strong>mation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–33<br />

Defining the ROWID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–35<br />

Adding extended ABL support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–37<br />

Modifying tables to support arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–37<br />

Using triggers to enable PROGRESS_RECID support of<br />

the ROWID function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–37<br />

Using computed columns to enable PROGRESS_RECID support of<br />

the ROWID function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–39<br />

Migrating RECID-trigger mechanism to RECID<br />

computed column mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–39

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

Saved successfully!

Ooh no, something went wrong!