标签: sql-server
Here's the pic of the sql server window.It is showing an error that the Table 'Student' doesn't exists.You can see in the pic that there is a database named as 'School1' and there exists the table 'Student'. Any help will be appreciated.... THANKS
答案 0 :(得分:5)
" master:数据库没有这个表。更改数据库以连接到" School1"请查看附带的屏幕截图:
答案 1 :(得分:2)
请尝试
USE [School1] GO Select * from Student
答案 2 :(得分:2)
链接唯一的问题不受欢迎,提供尽可能多的信息,如文本。
你当前的问题是你不要告诉sql server在哪里寻找对象。
SELECT * FROM School1.dbo.Student