如何在Visual Studio中使用SSDT重命名表 [英] How to rename table using SSDT in Visual Studio

查看:218
本文介绍了如何在Visual Studio中使用SSDT重命名表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio 2013并尝试学习本地数据库操作.我已经使用VS创建了一个数据库并创建了表.但是我不能重命名表名.任何地方都没有这样的选择,否则我看不到.我搜索了,但是什么也没找到.

I am using visual studio 2013 and trying to learn local database operations. I have created a database using VS and create tables. But I cannot rename table names. There is no such a option anywhere or I cannot see. I searched but find nothing.

谁能告诉我如何使用"VISUAL STUDIO 2013 SSDT"重命名表格

Could anyone show me how to rename table using 'VISUAL STUDIO 2013 SSDT'

推荐答案

打开表,在窗口的T-SQL部分中突出显示表名,单击SQL菜单,然后选择重构和重命名".您可能想要在更改时预览更改,以查看将受到的影响.

Open the table, highlight the table name in the T-SQL portion of the window, click the SQL menu, then choose Refactor and Rename. You probably want to preview changes while you're at it to see what will be affected.

这篇关于如何在Visual Studio中使用SSDT重命名表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆