all groups > sql server connect > february 2006 >
You're in the

sql server connect

group:

Newbie question



Re: Newbie question Jens
2/25/2006 8:06:48 AM
sql server connect: Seems that either the object doesn=B4t exist or you are connected to the
wrong database (ont the object surely doesn=B4t exists there). Try to
check this.

HTH, Jens Suessmeyer.
Re: Newbie question Andrew J. Kelly
2/25/2006 11:23:54 AM
Who is the owner of the table? If it is not dbo you need to specify who the
owner is. Actually it is always a good idea to specify the owner even if it
is dbo.

FROM [YourOwner].[ascis_acadyear_setup]


--
Andrew J. Kelly SQL MVP


[quoted text, click to view]

Newbie question Allison
2/25/2006 3:39:04 PM
Apolgies if this seems obvious.
I am using Visual Studio and experimenting with SQL server databases. I can
connect to Northwind and Pubs (the samples) and do simple selections on
them. At work we have a personnel database which I am tesing at home. I
can connect to it and explore the contents but when I run this
SELECT [acadyear_setup_id], [narrative], [census_date], [age_as_at_date]
FROM [ascis_acadyear_setup]

I get the error invlaid object name ascis_acadyear_setup

What am I doing wrong?

AddThis Social Bookmark Button