sp_dbremap

Description

Forces Adaptive Server to recognize changes made by alter database. Run this procedure only when instructed to do so by an Adaptive Server message.

Syntax

sp_dbremap dbname

Parameters

dbname

is the name of the database in which the alter database command was interrupted.

Examples

Example 1

An alter database command changed the database sample_db. This command makes the changes visible to Adaptive Server:

sp_dbremap sample_db

Usage

Permissions

Only a System Administrator or Database Owner can execute sp_dbremap.

Auditing

Values in event and extrainfo columns from the sysaudits table are:

Event

Audit option

Command or access audited

Information in extrainfo

38

exec_procedure

Execution of a procedure

  • Roles – Current active roles

  • Keywords or options – NULL

  • Previous value – NULL

  • Current value – NULL

  • Other information – All input parameters

  • Proxy information – Original login name, if set proxy in effect

See also

Commands alter database, dump database, dump transaction