CHAPTER 10 Adding Optional Functionality to Adaptive Server
Configuration Guide
123
3
Use a text editor to edit the script, if necessary, to change the default device
from the master device to the device created in step 1. For information on
the default device, see “Default device for the sybsyntax database” on
page 122.
•
Comment out the following section, which specifies the default
device:
/* create the database, if it does not exist */
if not exists (select name from sysdatabases
where name = "sybsyntax")
begin
/* create the sybsyntax table if it doesn’t exist */
/* is the space left on the default database
devices > size of model? */
if (select sum (high-low +1) from sysdevices where status
& 1 = 1) - (select sum(size) from sysusages, sysdevices
where vstart >= sysdevices.low
and vstart <= sysdevices.high
and sysdevices.status &1 = 1) >
(select sum(sysusages.size) from sysusages
where dbid = 3)
begin
create database sybsyntax
end
else
begin
print "There is not enough room on the default
devices to create the sybsyntax database."
return
end
end
•
After you have commented out this entire section, add a line like this
to the script:
create database sybsyntax on
device_name
where device_name is the name of the device where you want to
install
sybsyntax
.
4
Execute the script with a command like the following:
isql -U
sa
-P
password
-S
servername
<
$SYBASE/$SYBASE_ASE/scripts/ins_syn_sql
where sa is the user ID of the System Administrator, password is the
System Administrator’s password, and servername is the Adaptive Server
where you plan to install the database.
Summary of Contents for Adaptive Server
Page 1: ...Configuration Guide Adaptive Server Enterprise 15 0 UNIX...
Page 96: ...Migrating from the interfaces file to LDAP 80 Adaptive Server Enterprise...
Page 120: ...Changing the localization configuration 104 Adaptive Server Enterprise...
Page 128: ...Managing database devices 112 Adaptive Server Enterprise...