Thursday, 11 June 2015

How to change a table name in Microsoft SQL Server

How to change a table name in Microsoft SQL Server



You can use the sp_rename stored procedure, in this way:

sp_rename 'old_table_name', 'new_table_name'

Very easy!

No comments:

Post a Comment