Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 SQLSever Express & Adventureworks

Author  Topic 

mashfield
Starting Member

7 Posts

Posted - 2006-05-02 : 08:56:37
Hi All,

I am using SQLExpress and want to use some of the sample data to educate myself. however, I cannot seem to connect to the Adventureworks databse. I do not even see it within Management Studio Express. I would be grateful for advice or an article that will push in the right direction.

Matt A

sshelper
Posting Yak Master

216 Posts

Posted - 2006-05-02 : 09:48:36
As far as I know, the Adventureworks database doesn't come installed with SQL Server 2005 Express. You have to install it yourself. Here's a link where you can download it:

http://www.microsoft.com/downloads/details.aspx?FamilyId=E719ECF7-9F46-4312-AF89-6AD8702E4E6E&displaylang=en

SQL Server Helper
http://www.sql-server-helper.com
Go to Top of Page

mashfield
Starting Member

7 Posts

Posted - 2006-05-02 : 11:47:13
I have installed it. Indeed I have now added (atteched) the database so management studio sees it but when I choose to use it in management studio I just get erors as follows:

Msg 208, Level 16, State 1, Line 1
Invalid object name 'Production.Product'.

when creating a query

SELECT * FROM Production.Product

Go to Top of Page

paulrandal
Yak with Vast SQL Skills

899 Posts

Posted - 2006-05-02 : 14:18:46
quote:
Originally posted by mashfield

I have installed it. Indeed I have now added (atteched) the database so management studio sees it but when I choose to use it in management studio I just get erors as follows:

Msg 208, Level 16, State 1, Line 1
Invalid object name 'Production.Product'.

when creating a query

SELECT * FROM Production.Product





What happens if you run the following in Mgmt Studio?

use Adventureworks
go


Paul Randal
Lead Program Manager, Microsoft SQL Server Storage Engine + SQL Express
(Legalese: This posting is provided "AS IS" with no warranties, and confers no rights.)
Go to Top of Page
   

- Advertisement -