ALTER DATABASE
Description
You can alter metadata associated with a database by setting DBPROPERTIES
. The specified property
values override any existing value with the same property name. Please note that the usage of
SCHEMA
and DATABASE
are interchangeable and one can be used in place of the other. An error message
is issued if the database is not found in the system. This command is mostly used to record the metadata
for a database and may be used for auditing purposes.
Syntax
Parameters
database_name
- Specifies the name of the database to be altered.