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.

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

For example, if you use the default code page 1252 and the default case insensitive sort ordering<br />

with a MS <strong>SQL</strong> <strong>Server</strong> data source, collation of the tilde character (~), which is ASCII character<br />

126, sorts be<strong>for</strong>e all the alphanumeric characters (0–9, a–z). If you were to select data from a<br />

character column name with the following:<br />

select * from table where name =CHR(126)<br />

MS <strong>SQL</strong> <strong>Server</strong> returns records with columns that begin with a tilde character followed by all<br />

that begin with alphanumeric characters. However, the default <strong>OpenEdge</strong> collation, which sorts<br />

the tilde higher than all the alphanumeric characters, would omit records beginning with<br />

alphanumeric characters and only return records beginning with the tilde character.<br />

To get the full result set returned from MS <strong>SQL</strong> <strong>Server</strong> from the <strong>OpenEdge</strong> client would require<br />

modifying the collation table associated with the <strong>OpenEdge</strong> code page and weighting it to match<br />

the MS <strong>SQL</strong> <strong>Server</strong> sort order.<br />

For a complete discussion of how <strong>OpenEdge</strong> handles code-page issues, see <strong>OpenEdge</strong><br />

Development: Internationalizing Applications.<br />

2–7

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

Saved successfully!

Ooh no, something went wrong!