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 like
sp_RENAME 'class', 'NewClass'This Blog show you how to rename table name in Sql Server.
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 like
sp_RENAME 'class', 'NewClass'
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyeBook · SQL ServerBasics of SQL ServerDownload nowWrite a blog post and earn +250 SHARP when it is approved.
Write a blog
Join the conversation! Your thoughts help the community grow.