在visual studio 2008中删除表服务器资源管理器 [英] drop tables server explorer in visual studio 2008

查看:131
本文介绍了在visual studio 2008中删除表服务器资源管理器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在visual studio 2008中删除服务器资源管理器中的表组

解决方案

选择表格并按删除按钮将删除表格。



谢谢,


您可以使用查询执行相同操作:

  USE  [DatabaseName]; 
GO
DROP TABLE [TableName]


Refer - [MSDN]如何:管理数据库(设备)中的表 [ ^ ]。

引用:



删除表格



  1. 关于查看菜单,单击服务器资源管理器

  2. 服务器资源管理器,展开要从中删除表的数据连接。

  3. 下,右键单击要删除的表,然后单击删除表

  4. 删除对象对话框,单击删除,然后单击确定

    注意:

    在删除对表的所有引用之前,无法删除表。


how to drop group of tables in server explorer in visual studio 2008

解决方案

Select table and press delete button it will delete the table.

Thanks,


You can do the same using query:

USE [DatabaseName];
GO
DROP TABLE [TableName]


Refer - [MSDN] How to: Manage Tables in a Database (Devices)[^].

Quote:


To remove a table


  1. On the View menu, click Server Explorer.

  2. In Server Explorer, expand the data connection from which you want to drop a table.

  3. Under Tables, right-click the table you want to delete, and then click Drop Table.

  4. In the Delete Objects dialog box, click Remove, and then click OK.

    Note:

    You cannot remove a table until all references to the table are deleted.


这篇关于在visual studio 2008中删除表服务器资源管理器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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