Sybase Adaptive Server Enterprise 15.0.2 Installation Manual page 79

Table of Contents

Advertisement

Running a reserved word check
Addressing reserved words conflicts
Installation Guide
As part of the pre-upgrade process, syconfig.exe or sybatch.exe can perform the
reserved word check for you. See the Reference Manual for a complete list of
reserved words.
If you change an object name, change applications and stored procedures
Note
that refer to that object.
The
sp_checkreswords
your existing databases that conflict with reserved words. Server Config
installs
sp_checkreswords
Server Config does not display the names or locations of identifiers that
conflict with reserved words, only the number of conflicts.
You must use the
Note
installation to verify that the old installation of Adaptive Server does not use
any reserved words that have been introduced with the new server.
Server Config always discovers one reserved-word conflict for each database
in your Adaptive Server. This is because the
Server inserts a reserved word with each of its table entries. You do not need to
address these conflicts, because they do not adversely affect the upgrade
process.
If any database names are reserved words, you must use
change the database names before you can upgrade. Use
database to single-user mode, and then run
name. See the Reference Manual for more information on these procedures.
If other identifiers are reserved words, you can use:
to change the name of the object, before or after the upgrade.
sp_rename
Quoted identifiers.
Brackets around the identifier. For example:
create table [table] ( [int] int, [another int] int )
CHAPTER 5
system procedure detects and displays any identifiers in
and checks the reserved words during the upgrade.
stored procedure from the new
sp_checkreswords
sp_renamedb
Upgrading Adaptive Server
table in Adaptive
sysobjects
sp_renamedb
sp_dboption
, specifying the new
to
to set the
65

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents