ALTER TABLE STUDENTS
RENAME TO ARTISTS;
-- SQL SERVER -- don't put the schema in the 'new_name' field, otherwise your table might end up looking something like schema.schema.new_name
EXEC sp_rename 'schema.old_name', 'new_name';
EXEC sp_rename 'old_table_name', 'new_table_name'
Code language: SQL (Structured Query Language) (sql)
ALTER TABLE dataflair_employee
RENAME TO DataFlair_Info ;