RENAME table pl sql
ALTER TABLE old_table_name
RENAME TO new_table_name;
RENAME table pl sql
ALTER TABLE old_table_name
RENAME TO new_table_name;
tsql rename table
-- 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';
rename table sql server
USE AdventureWorks2012;
GO
EXEC sp_rename 'Sales.SalesTerritory', 'SalesTerr';
sql rename column
EXEC SP_RENAME 'TABLE_NAME.OLD_COLUMN_NAME','NEW_COLUMN_NAME'
sql rename table
ALTER TABLE dataflair_employee
RENAME TO DataFlair_Info ;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us