Sybase DC38133-01-0902-01 manual Using compatible sort orders and character sets, Conversions

Models: DC38133-01-0902-01

1 485
Download 485 pages 33.95 Kb
Page 93
Image 93

Chapter 6. Principles of SQL Remote Design

4. Make the database case sensitive You can do this with the dbinit -c

option.

 

The following command creates a case-sensitive database named test.db in

 

the current directory, using the current dbo user, ignoring trailing blanks,

 

and removing historical system views:

 

 

 

dbinit -b -c -k test.db

 

 

 

 

 

Using compatible sort orders and character sets

 

 

 

The SQL Remote Message Agent does not perform any character set

 

conversions.

 

 

 

 

 

 

 

Character sets in

For an Adaptive Server Anywhere installation, the character set and

Adaptive Server

collation used by the consolidated database must be the same as the remote

Anywhere installations

databases. For information about supported character sets, see “International

 

Languages and Character Sets” [ASA Database Administration Guide, page 319].

Character sets in

The Open Client/Open Server libraries perform character set conversions

Adaptive Server

between SSREMOTE and Adaptive Server Enterprise whenever the

Enterprise installations

LOCALES.DAT character set is different from the Adaptive Server

 

Enterprise character set. Both character sets must be installed on the

 

Adaptive Server Enterprise server and conversion must be supported.

Character sets in mixed

The locales.dat settings (which are used by all Open Client applications)

installations

must match the remote Adaptive Server Anywhere settings.

 

 

 

The following table provides recommended matches between Adaptive

 

Server Enterprise and Adaptive Server Anywhere character sets. The

 

matches are not all complete.

 

 

 

 

 

 

Adaptive Server

 

Open Client /

 

Open Client /

 

Open Client

 

 

 

 

 

Anywhere colla-

 

Open Server

 

Open Server case-

 

/ Open

 

tion name

 

name

 

sensitive sort order

 

Server case-

 

 

 

 

 

 

 

insensitive

 

 

 

 

 

 

 

sort order

 

 

 

 

 

 

 

 

 

 

default

 

cp850

 

dictionary_cp850

 

nocase_cp850

 

437LATIN1

 

cp437

 

dictionary_cp437

 

nocase_cp437

 

437ESP

 

cp437

 

espdict_cp437

 

espnocs_cp437

 

437SVE

 

cp437

 

bin_cp437

 

bin_cp437

 

819CYR

 

iso_1

 

bin_iso_1

 

bin_iso_1

 

819DAN

 

iso_1

 

bin_iso_1

 

bin_iso_1

 

 

 

 

 

 

 

 

 

75

Page 93
Image 93
Sybase DC38133-01-0902-01 manual Using compatible sort orders and character sets, Conversions