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.

Guidelines <strong>for</strong> using the <strong>Data</strong><strong>Server</strong><br />

Guidelines <strong>for</strong> using the <strong>Data</strong><strong>Server</strong><br />

<strong>OpenEdge</strong> database management system supports many capabilities not found in other database<br />

management systems, such as backward scrolling cursors and the ability to find the previous or<br />

last record in a table. The <strong>Data</strong><strong>Server</strong> supports these and other programming and database<br />

features to ensure that your applications work with both <strong>OpenEdge</strong> databases and MS <strong>SQL</strong><br />

<strong>Server</strong> databases.<br />

Some functionality highlights<br />

The <strong>Data</strong><strong>Server</strong> allows you to use ABL features as extensions to your data source. Some of the<br />

<strong>OpenEdge</strong> programming and database design techniques that you can implement on your MS<br />

<strong>SQL</strong> <strong>Server</strong> data source using the <strong>Data</strong><strong>Server</strong> are:<br />

• ROWID function<br />

• Arrays<br />

For access to some of these features, you might have to make minor modifications to how your<br />

MS <strong>SQL</strong> <strong>Server</strong> data-source or application is organized. For a discussion of these issues and<br />

instructions <strong>for</strong> modifying your data source, see Chapter 2, “Initial Programming<br />

Considerations.”<br />

If you create a MS <strong>SQL</strong> <strong>Server</strong> data source from an existing <strong>OpenEdge</strong> database with the<br />

<strong>OpenEdge</strong> DB to MS <strong>SQL</strong> <strong>Server</strong> migration utility and select the Create RECID Field option,<br />

you can use the FIND PREV/LAST statements in addition to taking advantage of <strong>OpenEdge</strong>-like<br />

cursor behavior.<br />

How you use the <strong>Data</strong><strong>Server</strong> depends on whether you plan to access in<strong>for</strong>mation in a data source<br />

through an <strong>OpenEdge</strong> application or migrate an <strong>OpenEdge</strong> database to a MS <strong>SQL</strong> <strong>Server</strong> data<br />

source. The following sections summarize.<br />

Using the <strong>Data</strong><strong>Server</strong> <strong>for</strong> MS <strong>SQL</strong> <strong>Server</strong> <strong>for</strong> the first time<br />

Be<strong>for</strong>e using the <strong>Data</strong><strong>Server</strong>, you must:<br />

1. Install the <strong>Data</strong><strong>Server</strong> modules on the machines your configuration requires.<br />

2. If you chose not to use the bundled ODBC driver, purchase and install the ODBC driver<br />

software on the machine that will execute the server component.<br />

3. Verify connectivity between ODBC and the MS <strong>SQL</strong> <strong>Server</strong> database.<br />

4. Create a local schema holder on the client or server machine, as appropriate. Schema<br />

holders cannot be transferred between different host machines.<br />

Chapter 3, “RDBMS Stored Procedure Details,” provides in<strong>for</strong>mation about where to install<br />

<strong>Data</strong><strong>Server</strong> modules and how to create a schema holder.<br />

1–17

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

Saved successfully!

Ooh no, something went wrong!