Rename Table in SqlServerAnkit Nandekar15yPublished May 5, 2011, 12:00 AMUpdated May 5, 2011, 2:01 AM3.7k00Reactions×25BlogThe script for renaming any object (table, sp etc) : sp_RENAME '[Oldtablename]' , '[Newtablename]'For example if my table name is class and i want to rename class with NewClass then the script will be likesp_RENAME 'class', 'NewClass'CommentsJoin the conversation! Your thoughts help the community grow.Sign in to leave a commentIt is the same account you read, post and publish with — and you will come straight back to this page.Sign inCreate an account
Join the conversation! Your thoughts help the community grow.