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.

MS <strong>SQL</strong> <strong>Server</strong> <strong>Data</strong><strong>Server</strong> data source limits<br />

<strong>Data</strong>base design issues<br />

A MS <strong>SQL</strong> <strong>Server</strong> data source has upper limits on various components; <strong>for</strong> example,<br />

the number of columns per table, the number of columns per SELECT statement in a<br />

view, the maximum size of a data row, and the maximum length of character data<br />

types. These restrictions might affect how <strong>OpenEdge</strong> applications run. See your<br />

<strong>Microsoft</strong> <strong>SQL</strong> <strong>Server</strong> documentation <strong>for</strong> full details.<br />

Code pages<br />

Flexibility in managing code pages, also called character sets, is critical <strong>for</strong><br />

international applications. When you access a MS <strong>SQL</strong> <strong>Server</strong> data source through the<br />

<strong>Data</strong><strong>Server</strong>, the <strong>Data</strong><strong>Server</strong> retrieves character data as determined by the code page<br />

that the data source uses. For <strong>OpenEdge</strong> databases, the default code page is<br />

iso8859–1; however, the <strong>OpenEdge</strong> model allows you to designate code pages <strong>for</strong> the<br />

data source and <strong>for</strong> the client.<br />

Figure 7 shows a possible configuration of code pages <strong>for</strong> the <strong>Data</strong><strong>Server</strong> components<br />

and processes.<br />

<strong>Data</strong><br />

source<br />

<strong>Data</strong> source<br />

iso_1<br />

Native<br />

data<br />

source<br />

interface<br />

ODBC<br />

Indicates that a<br />

code-page conversion<br />

can occur at this<br />

location<br />

<strong>Data</strong><br />

<strong>Server</strong><br />

SH<br />

iso8859-1<br />

Figure 7: <strong>Data</strong><strong>Server</strong> processes and code pages<br />

GUI monitor<br />

and<br />

keyboard<br />

Client<br />

iso8859-1<br />

In the configuration shown in Figure 7, all components use the same code page. The<br />

<strong>OpenEdge</strong> iso8859–1 code page is a subset of the iso_1 code page used by the default<br />

installation of MS <strong>SQL</strong> <strong>Server</strong>. For in<strong>for</strong>mation on setting character sets <strong>for</strong> your data<br />

source, see the administration guide supplied by the vendor. On the <strong>OpenEdge</strong> side, if<br />

the client and the schema holder use different code pages, a conversion takes place<br />

between them.<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> 59

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

Saved successfully!

Ooh no, something went wrong!