forked from orientechnologies/orientdb
-
Notifications
You must be signed in to change notification settings - Fork 0
QL Alter Database
lvca edited this page Dec 14, 2012
·
2 revisions
The SQL Alter Database command update database settings.
ALTER DATABASE <attribute-name> <attribute-value>
Where:
- attribute-name between those supported:
- STATUS database's status between:
- IMPORTING to set importing status
- DEFAULTCLUSTERID to set the default cluster. By default is 2 = "default"
- TYPE to change the database type. This makes only sense when you want to switch from any database to a graph specifying "graph"
- attribute-value attribute's value to set
ALTER DATABASE TYPE graph
To know more about other SQL commands look at SQL commands.