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 7: The <strong>Data</strong><strong>Server</strong> Tutorial<br />

Changing a code page in a schema holder<br />

Using the Change <strong>Data</strong><strong>Server</strong> Schema Code Page utility, you can change the code<br />

page in a schema holder at any time. As a result, you can create a schema holder even<br />

if you do not have the correct code page in<strong>for</strong>mation; you can add or correct the code<br />

page in<strong>for</strong>mation at a later date. However, if you have been writing 8-bit character data<br />

to your data source with the <strong>Data</strong><strong>Server</strong> and then you change the code page, the data<br />

is unaffected by the code page change. Note that your database might be corrupted if<br />

you start writing data with the <strong>Data</strong><strong>Server</strong> and a schema holder that uses a new code<br />

page.<br />

To change a code page in a schema holder from the <strong>Data</strong> Administration tool:<br />

1. Access the <strong>Data</strong> Administration, if you are not already there, and select<br />

<strong>Data</strong><strong>Server</strong>→ MSS <strong>SQL</strong> <strong>Server</strong> Utilities→ Change <strong>Data</strong><strong>Server</strong> Schema Code<br />

Page. The utility displays a message about the possibility of corrupting your<br />

database by using the wrong code page.<br />

2. Choose OK to continue. The following dialog box appears:<br />

3. Either accept the current value or type the data source code page that the data<br />

source supports. If you choose UTF-8 as your schema image code page, your<br />

schema holder’s code page must also be UTF-8.<br />

See <strong>OpenEdge</strong> Development: Internationalizing Applications <strong>for</strong> a complete list of<br />

code pages that <strong>OpenEdge</strong> supports. If you are using an unsupported code page,<br />

you are allowed to create your own conversion tables.<br />

4. Choose OK to change the code page and return to the <strong>Data</strong> Administration main<br />

window.<br />

If you were connected to the schema holder and the data source when you chose<br />

to change the code page, <strong>OpenEdge</strong> disconnects you to make the change. The<br />

Connect <strong>Data</strong>base dialog box appears to allow you to reconnect.<br />

276 <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!