T-SQL Tutorial

T-SQL Rename View


Rename View Syntax

sp_rename 'OLD_VIEW', 'NEW_VIEW';

Rename View Example

sp_rename 'CountriesView', 'NewCountriesView' ;