SQL server 自带存储过程 sp_rename

使用系统自带存储过程sp_rename 修改之前创建的视图名字

CREATE VIEW v_ShowBoyInfo as select * from employee WHERE sex ='男' and age>18 and age<35;


EXEC sp_rename 'v_ShowBoyInfo', 'v_ShowYoungerInfo'

posted @ 2020-05-23 09:07  乾子  阅读(302)  评论(0编辑  收藏  举报