CHAPTER 9 International Languages and Character Sets
351
Stop and restart the database server in order for it to recognize the new
collations and insert them into system tables SYSCOLLATION and
SYSCOLLATIONMAPPINGS.
Creating a database with a custom collation
If none of the supplied collations meet your needs, you can create a database
using a custom collation. The custom collation is used in indexes and any string
comparisons.
❖
To create a database with a custom collation:
1
Create a custom collation.
You must have a custom collation in place to use when creating a database.
For instructions on how to create custom collations, see “Creating a
custom collation” on page 349.
2
Create the new database.
Use the
CREATE DATABASE
statement or Sybase Central, specifying the
name of your custom collation.
For example, the following statement creates a database named newcol.db
using the custom collation sequence
newcol
.
CREATE DATABASE ’newcol.db’
COLLATION ’newcol’
IQ PATH ’newcol.iq’
Compatibility issues
Prior to version 12.0, Adaptive Server IQ always used the ASCII sort order,
which sorts uppercase characters before lowercase. As of version 12.4.2, by
default IQ databases sort data in the same way as pre-version 12 Adaptive
Server IQ. The default applies these
CREATE DATABASE
options:
CREATE DATABASE
dbname
COLLATION ’ISO_BINENG’
BLANK PADDING ON
CASE RESPECT
Summary of Contents for Adaptive Server IQ 12.4.2
Page 1: ...Administration and Performance Guide Adaptive Server IQ 12 4 2 ...
Page 16: ...xvi ...
Page 20: ...Related documents xx ...
Page 40: ...Compatibility with earlier versions 20 ...
Page 118: ...Troubleshooting startup shutdown and connections 98 ...
Page 248: ...Importing data by replication 228 ...
Page 306: ...Integrity rules in the system tables 286 ...
Page 334: ...Cursors in transactions 314 ...
Page 396: ...Users and permissions in the system tables 376 ...
Page 438: ...Determining your data backup and recovery strategy 418 ...
Page 484: ...Network performance 464 ...
Page 500: ...System utilities to monitor CPU use 480 ...
Page 514: ...Characteristics of Open Client and jConnect connections 494 ...
Page 536: ...Index 516 ...