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.

Chapter 5: Configuring the <strong>Data</strong><strong>Server</strong><br />

Permissions <strong>for</strong> connecting a schema holder<br />

When you connect to a schema holder, you can also choose to connect to your MS<br />

<strong>SQL</strong> <strong>Server</strong> database. To connect to the data source, you must provide a valid login<br />

name and password combination. Use the User ID (-U) parameter to provide the user<br />

ID and the Password (-P) parameter to provide the password. Figure 8 shows an<br />

example of the User ID and Password dialog box.<br />

Figure 8: User ID and Password dialog box<br />

Note that value xxxxxx that appears in Figure 8 is only a placeholder <strong>for</strong> the actual MS<br />

<strong>SQL</strong> <strong>Server</strong> database name to which you intend to connect.<br />

Application-specific permissions<br />

In addition to the MS <strong>SQL</strong> <strong>Server</strong> database permissions required by the <strong>Data</strong><strong>Server</strong>,<br />

the required permissions <strong>for</strong> users depend on the applications that they are using. For<br />

example, a user who is running an <strong>OpenEdge</strong> application that queries but does not<br />

update the employee table in the data source must connect to the data source with a<br />

login name and password combination that provides at least SELECT privileges <strong>for</strong> the<br />

employee table. For users who will manipulate data at runtime, the appropriate select,<br />

insert, update, and delete permissions must be granted as administered by the <strong>for</strong>eign<br />

(target) data source.<br />

In summary, the login name (or user ID) and password combination required to run a<br />

particular application depends on the following:<br />

• The tables that the application accesses<br />

• The type of access required to those tables<br />

Preparing to create the schema holder<br />

This section addresses the steps required to create the schema holder.<br />

To prepare to create the schema holder:<br />

1. Verify that your MS <strong>SQL</strong> <strong>Server</strong> database is accessible and that you can connect<br />

to it. Transact-<strong>SQL</strong> and the MS <strong>SQL</strong> <strong>Server</strong> Query Analyzer can serve as a test<br />

<strong>for</strong> connectivity.<br />

2. Verify that you have installed the ODBC drivers.<br />

3. Once you have configured your data source (DSN), make sure that you can<br />

establish a connection independent of using the <strong>Data</strong><strong>Server</strong>. From your DSN<br />

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

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

Saved successfully!

Ooh no, something went wrong!