Changes the name of certain objects.
RENAME object oldname AS newname [IN directory]
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.|
rename entityset Deppartments as Departments
The preceding command renames an EntitySet that was accidentally given a misspelled name.