Sybase Adaptive Server Enterprise 15.0.2 Installation Manual page 129

Table of Contents

Advertisement

Permissions
Increasing the log segment size
Installation Guide
Example 2
Upgrades all stored procedures in the
quotes are used around
dbcc upgrade_object(listdb, 'procedure')
Upgrades all rules and check constraints in the
Example 3
Double quotes are used around
dbcc upgrade_object(listdb, "rule")
Upgrades all stored procedures named
Example 4
database.
dbcc upgrade_object(listdb, list_proc)
Upgrades the stored procedure
Example 5
login "jkarrik".
dbcc upgrade_object(listdb,
"listdb.jkarrik.list_proc")
Example 6
Returns an error because the value of dbname is
value of database is
listdb
dbcc upgrade_object(master,
"listdb.jkarrik.list_proc")
Only the Database Owner or a System Administrator can execute
. The Database Owner can upgrade his or her own objects in the
upgrade_object
database.
Upgraded objects retain the same owner that they had prior to being upgraded.
You can specify that all compiled objects of a particular class should be
upgraded in one execution of
upgrade all triggers by using the
use only one
command, the upgrade of each object is recorded in a
dbcc
separate transaction; the old row is deleted from
is written. Therefore, if you run
compiled objects, your system may run out of log space. Increase the size of
the log segment in the databases in which you plan to run this command, to
allow sufficient room to log all the upgrades.
because
procedure
set quoted identifiers
because
rule
set quoted identifiers
list_proc
. These values must match.
dbcc upgrade_object
keyword. However, even though you
trigger
dbcc upgrade_object
CHAPTER 7
Troubleshooting
database. Single
listdb
is
on
listdb
is
in the
list_proc
, which is owned by the
master
dbcc
; for example, you can
and a new row
sysprocedures
on a large number of
:
database.
.
off
listdb
and the
115

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents