简体   繁体   English

SQL Server管理Studio 2008

[英]sql server management studio 2008

I just created two tables using a query create statement. 我刚刚使用查询create语句创建了两个表。 I'm trying to get the database to show up in object expolorer but have no idea which folder it is in. I want to view the table itself so that I can make changes to the relationships. 我试图使数据库显示在对象展示器中,但不知道它位于哪个文件夹中。我想查看表本身,以便对关系进行更改。 Right now I can only see that the database and the tables were created successfully but am having a hard time finding the table itself. 现在,我只能看到数据库和表已成功创建,但是很难找到表本身。

What database did you create them in? 您在哪个数据库中创建它们? They will be under that database node. 它们将在该数据库节点下。

Note that you will need to refresh the list before you can see the new tables - right click the tables node and select Refresh . 请注意,在查看新表之前,需要刷新列表-右键单击tables节点,然后选择Refresh

Try refrshing the tables node of the database. 尝试刷新数据库的表节点。 Right click and choose refresh on Tables and choose refresh. 右键单击并选择刷新表,然后选择刷新。

检查左上角下拉列表中的表名,有时默认情况下它进入主数据库,因此您可能在主数据库上意外创建了它们(如果在创建语句之前未使用"use YourDatabaseName"语句)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM