Character Set Translation For Sybase Central And Dbisql; Creating A Custom Collation - Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual

Table of Contents

Advertisement

Character set translation for Sybase Central and DBISQL

Creating a custom collation

CHAPTER 9
To use the ODBC translation driver:
1
In the ODBC Administrator, choose Add to create a new Adaptive Server
IQ data source or Configure to edit an existing Adaptive Server IQ data
source.
2
On the ODBC tab of the ODBC Configuration for Adaptive Server IQ
window, click Select and choose Adaptive Server Anywhere 6.0
Translator from the list of translation drivers.
DBISQL and Sybase Central both employ internal OEM to ANSI code page
translation if the database uses an OEM character set. As with the ODBC
translation driver, there is an assumption that the OEM code page on the local
machine matches the data in the database.
To turn off character set translation in DBISQL:
Set the DBISQL option
SET OPTION CHAR_OEM_TRANSLATION = 'OFF'
For more information on OEM to ANSI character set translation in Interactive
SQL, see CHAR_OEM_TRANSLATION option in the Adaptive Server IQ
Reference Manual.
If none of the supplied collations meet your needs, you can modify a supplied
collation to create a custom collation. You can then use this custom collation
when creating a database.
For a list of supplied collations, see "Supplied collations" on page 329.
To create a custom collation:
1
Decide on a starting collation.
You should choose a collation as close as possible to the one you want to
create as a starting point for your custom collation.
For a listing of supplied collations, see "Understanding collations" on
page 328.
2
Create a custom collation file.
International Languages and Character Sets
CHAR_OEM_Translation
to a value of OFF.
349

Advertisement

Table of Contents
loading

Table of Contents