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.

The <strong>Data</strong><strong>Server</strong> Tutorial<br />

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

7–18<br />

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

schema holder at any time. As a result, you can create a schema holder even if you do not have<br />

the correct code page in<strong>for</strong>mation; you can add or correct the code page in<strong>for</strong>mation at a later<br />

date. However, if you have been writing 8-bit character data to your data source with the<br />

<strong>Data</strong><strong>Server</strong> and then you change the code page, the data is unaffected by the code page change.<br />

Note that your database might be corrupted if you start writing data with the <strong>Data</strong><strong>Server</strong> and a<br />

schema holder that uses a new code 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 <strong>Data</strong><strong>Server</strong>→<br />

MSS <strong>SQL</strong> <strong>Server</strong> Utilities→ Change <strong>Data</strong><strong>Server</strong> Schema Code Page. The utility<br />

displays a message about the possibility of corrupting your database by using the wrong<br />

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 source<br />

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

code page must also be UTF-8.<br />

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

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

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 to change<br />

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

dialog box appears to allow you to reconnect.

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

Saved successfully!

Ooh no, something went wrong!