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.

Preparing to create demonstration databases<br />

Table 7–1: <strong>OpenEdge</strong> DB to MS <strong>SQL</strong> <strong>Server</strong> utility (2 of 2)<br />

Interface element Description<br />

Include Defaults Check if you want the <strong>OpenEdge</strong> initial value used<br />

as the default in the <strong>SQL</strong> script.<br />

For field widths use When pushing fields to a <strong>for</strong>eign data source, you<br />

can select one of two primary field <strong>for</strong>mat options:<br />

• Width — Uses the value of the _width field<br />

in the _field record.<br />

• 4GL Format — Compiles with the current<br />

default width specified. (default)<br />

If you select the 4GL Format option, you<br />

have an additional setting to define:<br />

• Expand x(8) to 30 — This setting is on by<br />

default to indicate that the <strong>for</strong>mat <strong>for</strong> the<br />

character fields defined as x(8) will be<br />

created as 30 characters.<br />

Note: For a complete description <strong>for</strong> running while in batch mode, see the “Running the<br />

<strong>OpenEdge</strong> DB to MS <strong>SQL</strong> <strong>Server</strong> utility” section on page 7–20.<br />

10. Running the utility creates and connects a schema holder and the MS <strong>SQL</strong> <strong>Server</strong><br />

database. It operates as follows:<br />

a. <strong>SQL</strong> script is generated.<br />

b. <strong>SQL</strong> that creates the schema is sent to the MS <strong>SQL</strong> <strong>Server</strong> data manager.<br />

c. The schema is pulled back to the schema holder.<br />

d. The schema holder and the <strong>OpenEdge</strong> database are compared and all in<strong>for</strong>mation<br />

needed by <strong>OpenEdge</strong> is applied to the schema holder.<br />

e. <strong>Data</strong> is loaded if selected.<br />

f. The schema holder is disconnected.<br />

Note: You cannot use the Expand x(8) to 30<br />

setting with the Width option.<br />

For Create RECID use: Select either Trigger or Computed Column.<br />

Trigger is selected by default. Computed<br />

Column is preferred as it offers greater reliability,<br />

but is only available <strong>for</strong> MS <strong>SQL</strong> <strong>Server</strong> 2005 and<br />

later.<br />

g. A message is displayed that tells the user which startup procedure to use to connect.<br />

Additionally, the entered connect in<strong>for</strong>mation is also stored in the db record which<br />

the <strong>Data</strong><strong>Server</strong> can use to automatically connect.<br />

7–5

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

Saved successfully!

Ooh no, something went wrong!