Re: How to access SQL Server 2005 with Query Analyzer (SQL 2000)
- From: "Gail Erickson [MS]" <gaile@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 20 Oct 2005 13:11:49 -0700
Query Analyzer does not fully support new SQL Server 2005 features. For
example, it does not recognize schema names in the Object Browser. So when
you look at the AdventureWorks objects in the Object Browser of QA, they all
appear to belong to dbo even though very few objects actually do. If you
want to continue to use QA for 2005 databases, you'll need to keep that in
mind. The SQL Server 2005 Books Online topic "AdventureWorks Data
Dictionary" lists all the tables and the schemas they are contained in.
--
Gail Erickson [MS]
SQL Server Documentation Team
This posting is provided "AS IS" with no warranties, and confers no rights
"David Gugick" <david.gugick-nospam@xxxxxxxxx> wrote in message
news:%234sqZta1FHA.4032@xxxxxxxxxxxxxxxxxxxxxxx
> Sal Young wrote:
>> I'm running the following select statement to get a table does not
>> exist error:
>>
>> SELECT * FROM Address
>>
>
> I believe this was already addressed in another post (unless we're dealing
> with two identifical posts from two users).
>
> SQL Server databases use the concept of schemas. That is, objects may or
> may not be owned by "dbo" - the general default from prior SQL versions.
> Because of this, the schema must be supplied so SQL Server knows where to
> look. The Address table in the AdventureWorks database is contained in the
> Person schema. So try:
>
> Select * from Person.Address
>
>
> --
> David Gugick
> Quest Software
> www.imceda.com
> www.quest.com
.
- References:
- Re: How to access SQL Server 2005 with Query Analyzer (SQL 2000)
- From: Gail Erickson [MS]
- Re: How to access SQL Server 2005 with Query Analyzer (SQL 2000)
- From: David Gugick
- Re: How to access SQL Server 2005 with Query Analyzer (SQL 2000)
- Prev by Date: Re: How to access SQL Server 2005 with Query Analyzer (SQL 2000)
- Next by Date: Re: searching date problems
- Previous by thread: Re: How to access SQL Server 2005 with Query Analyzer (SQL 2000)
- Next by thread: Re: searching date problems
- Index(es):
Relevant Pages
|
|