RENAME
Changes the name of certain objects.
Syntax
RENAME object oldname AS newname [IN directory]
Parameters
object | One of CONSTANT, DIRECTORY, DISPLAY, DOCUMENT, ENTITYSET, FORM, RELATIONSHIP, ROLE, SET, VARIABLE, WINDOW |
oldname | The current name of object. |
newname | The new name for object. The new name must not be the name of an existing object. |
directory | The name of the application directory in which object is located. |
Example
rename entityset Deppartments as Departments
The preceding command renames an EntitySet that was accidentally given a misspelled name.