SQL RENAME

SQL RENAME

By using RENAME command, we can rename a table. The rename operation is done automatically. Which means that no other thread can access any of the tables while the rename processing is running.

Syntax

RENAME <TableName> TO <NewTAbleName>;

Example

RENAME EMPLOYEE TO EMPLOYEE_DETAILS;

 

Leave a Reply