Naming The Server And Databases - Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual

Table of Contents

Advertisement

Configuration file for
the sample database
A note about defaults
Naming restrictions

Naming the server and databases

Default names
The asiqdemo.cfg file, which you use to start the sample database, sets startup
parameters to the recommended defaults. You can also use this file as a
template for your own configuration files. Chapter 3, "Running and
Connecting to Servers", Introduction to Adaptive Server IQ gives an example
of the sample database configuration file. This file is found in
demo/asiqdemo.cfg in your installation directory.
In the discussion of individual server options that follows, "default" means the
value that applies if you start the server with the
the Windows NT Start menu, and do not specify a different value.
If you start the server with the
asiqdemo.cfg or your own configuration file, many of these options are set to
other values.
Do not use hyphenated names or reserved words for database names, user
identifiers or server names, even enclosed in quotation marks. For example, the
following are not allowed:
grant
june-1999-prospects
"foreign"
For a complete list of reserved words (keywords), see the Adaptive Server IQ
Reference Manual.
You can use the
command-line option as a database switch (to name the
-n
database) or as a server switch (to name the server). The server switch is
required if you do not supply a database.
The server and database names are among the connection parameters that client
applications can use when connecting to a database. On Windows NT, the
server name appears on the desktop icon and on the title bar of the server
window.
If no server name is provided, the default server name is the name of the first
database started.
The default database name is the root of the Catalog Store file name (the file
name without a directory path or the .db extension). For example, in the
following command line the first database is named
is
, and the server is named
sample
CHAPTER 2
Running Adaptive Server IQ
asiqsrv12
UNIX startup utility, or with
start_asiq
mydb
.
mydb
command, or from
, the second database
31

Advertisement

Table of Contents
loading

Table of Contents