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.

Migrating an <strong>OpenEdge</strong> database to MS <strong>SQL</strong> <strong>Server</strong><br />

To per<strong>for</strong>m a complete migration of your <strong>OpenEdge</strong> database to a target data source,<br />

you must enter in<strong>for</strong>mation in all appropriate fields and select all appropriate check<br />

boxes.<br />

The utility creates a schema holder, updates the empty target data source that you<br />

created to contain the objects stored in your <strong>OpenEdge</strong> database, and creates a<br />

startup procedure that you can use to connect your schema holder. The startup<br />

procedure derives its name from the logical name <strong>for</strong> your target database. For<br />

example, if you specified “sports” as the logical data source name, the utility creates<br />

the csports.p startup procedure.<br />

To run the <strong>OpenEdge</strong>-to-MS <strong>SQL</strong> <strong>Server</strong> Conversion utility in batch mode:<br />

1. Create a target MS <strong>SQL</strong> <strong>Server</strong> database. You must use an empty target data<br />

source when you run the <strong>OpenEdge</strong> DB to MS <strong>SQL</strong> <strong>Server</strong> utility.<br />

2. Configure your ODBC driver to connect to your new target data source.<br />

3. On your client machine, pass parameters to the utility by setting the environment<br />

variables listed in Table 52.<br />

Table 52: <strong>OpenEdge</strong>-to-MS <strong>SQL</strong> <strong>Server</strong> Conversion utility batch<br />

parameters (1 of 3)<br />

Environment<br />

variable Description<br />

PRODBNAME Specify the source <strong>OpenEdge</strong> database name.<br />

PROCONPARMS Specify parameters <strong>for</strong> the connection to the source<br />

<strong>OpenEdge</strong> database.<br />

SHDBNAME Specify the new schema-holder name.<br />

MSSDBNAME Specify ODBC data source name.<br />

MSSPDBNAME Specify logical database name.<br />

MSSUSERNAME Specify the user name <strong>for</strong> the target data source.<br />

MSSPASSWORDnote Specify the password of the user <strong>for</strong> the target data<br />

source.<br />

MSSCONPARMS Specify additional connection parameters <strong>for</strong> the schema<br />

holder.<br />

MSSCODEPAGE Specify the <strong>OpenEdge</strong> name <strong>for</strong> the code page that the<br />

ODBC data source uses. By default, the code page <strong>for</strong> a<br />

schema holder is ibm850. You can leave this unset and<br />

use the Change <strong>Data</strong><strong>Server</strong> Schema Code Page utility to<br />

add the code page in<strong>for</strong>mation <strong>for</strong> the schema holder<br />

later.<br />

MSSCOLLNAME Collation name.<br />

MSSCASESEN Yes or No <strong>for</strong> Code Page case sensitive.<br />

COMPATIBLE Create arrays and RECID. Set to 2 <strong>for</strong> using a computed<br />

column and 1 or Yes <strong>for</strong> using a trigger.<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> 299

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

Saved successfully!

Ooh no, something went wrong!