473,405 Members | 2,185 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Trying to query the Address table data of AdventureWorks database from Query Analyzer - need help!

Hi there,
I have installed Sql server 2005 developer on my machine which
already has a Sql server 2000 installed on. Now i am trying to query
the Sqlserver 2005 data(Ex: from Person.Address located in
AdventureWorks database) in Sqlserver 2000 query analyzer:

When i try as
Select * from Address it said invalid object.

But when i explored AdventureWorks database in the Management studio i
see it as Person.Address!!! i don't understand what is a Person in
Person.Address??? any clues on this?

So as a test when i ran
select * from Person.Address it did work and i saw the results in query
analyzer.

Can any one help me understand about this confusion?

Thanks
-L

Jan 30 '06 #1
1 1972
Firstly, I would like to point out that your question does not belong in an
ASP.NET newsgroup. It should be asked in a SQL server group.

In any case, without having played around with SQL 2005, I would think that
'Person' is the user that the table belongs to. So if you had connected to
your sql server as Person (instead of integrated authentication or whatever
other username you are using), then you wouldn't need to prefix it with
Person.

You can have more then one table with the same name in the same database if
each table belongs to a different user.

"Learner" <pr****@gmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
Hi there,
I have installed Sql server 2005 developer on my machine which
already has a Sql server 2000 installed on. Now i am trying to query
the Sqlserver 2005 data(Ex: from Person.Address located in
AdventureWorks database) in Sqlserver 2000 query analyzer:

When i try as
Select * from Address it said invalid object.

But when i explored AdventureWorks database in the Management studio i
see it as Person.Address!!! i don't understand what is a Person in
Person.Address??? any clues on this?

So as a test when i ran
select * from Person.Address it did work and i saw the results in query
analyzer.

Can any one help me understand about this confusion?

Thanks
-L

Jan 30 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Warren Wright | last post by:
Hi group, I have a select statement that if run against a 1 million record database directly in query analyzer takes less than 1 second. However, if I execute the select statement in a stored...
3
by: Me | last post by:
hi, I have this file I need to execute from an ASP client. since we have installed it on the SQL Database server machine, I thought I could run it like this: Set Cn =...
4
by: rdraider | last post by:
I am looking for some assistance with an update query that needs to link 3 tables: This query ran and reported over 230,000 records affected but did not change the field I wanted changed, not...
7
by: stig | last post by:
hi. coming from postgresql, i am used to textual references to most of the things i do with the database. i feel a little lost with all the graphical. i have few questions regarding MS SQL 2000...
5
by: Wired Hosting News | last post by:
I tried to be breif and give a scenario so as not to be overlooked because it was soooo long. Let me give you real world. I am a manufacturer of goods and produce 11 items that are distributed...
5
by: kkddrpg | last post by:
the database looks like this the database is called username_tpp (not really just using username as a sub) the table is called home it has field 1 : varchar(50) | latin1_swedish_ci | no...
9
by: Frawls | last post by:
Hi I Am am having problems with a stored Procedure that i wrote. Basically whats happening is that the Stored procedure Runs fine when i EXECUTE it in SQL Query analyzer. But when i debug...
2
by: melchior | last post by:
Hi, I have searched and searched without much luck. I feel like I am doing the right thing, just not getting the right result, so here goes. I have 2 tables. One has about 100,000 records...
9
by: John Sheppard | last post by:
Hello there, I was wondering if anyone knew how to run a query that supplies the sql statement behind a view? or is there a way to do that with ado.net? Thank you kindly for anyones ideas...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.