This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||
|
4D v20 R8
ALTER SCHEMA
|
ALTER SCHEMA sql_name RENAME TO sql_name |
||
The ALTER SCHEMA command can be used to rename the sql_name (first parameter) SQL schema to sql_name (second parameter).
Only the database Designer and Administrator can modify schemas.
Note: You cannot rename the default schema ("DEFAULT_SCHEMA") or the schema containing the system tables ("SYSTEM_SCHEMA") and you cannot use these names in the second sql_name parameter.
Renaming of the MyFirstSchema schema to MyLastSchema:
ALTER SCHEMA MyFirstSchema RENAME TO MyLastSchema
Product: 4D
Theme: SQL Commands
4D SQL Reference ( 4D v20 R8)