4D v16DROP SCHEMA |
||||||||||||||
|
4D v16
DROP SCHEMA
DROP SCHEMA
The DROP SCHEMA command can be used to delete the schema designated by sql_name. It is possible to delete any schema except for the default schema (DEFAULT_SCHEMA) and the schema containing the system tables ("SYSTEM_SCHEMA"). When you delete a schema, all the tables that were assigned to it are transferred to the default schema. The transferred tables inherit the access rights of the default schema. If you attempt to remove a schema that does not exist or that has already been deleted, an error is generated. Only the database Designer and Administrator can delete schemas. You want to delete the MyFirstSchema schema (to which Table1 and Table2 are assigned):
DROP SCHEMA MyFirstSchema After this operation, the two tables, Table1 and Table2, are reassigned to the default schema.
Siehe auch
|
EIGENSCHAFTEN
Produkt: 4D
GESCHICHTE
ARTIKELVERWENDUNG
4D - SQL Reference ( 4D v16) |
||||||||||||