SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL SERVER 2005 sample databases


SQL SERVER 2005 sample databases

Author
Message
pankaj-426531
pankaj-426531
SSC Veteran
SSC Veteran (259 reputation)SSC Veteran (259 reputation)SSC Veteran (259 reputation)SSC Veteran (259 reputation)SSC Veteran (259 reputation)SSC Veteran (259 reputation)SSC Veteran (259 reputation)SSC Veteran (259 reputation)

Group: General Forum Members
Points: 259 Visits: 109
i have been trying to download and install 'AdventureWorksDB' for SQL server 2005. the microsoft download center routed me to the below link on codeplex:

http://www.codeplex.com/MSFTDBProdSamples

When i downloaded the above said database from this link i couldnt install it as it was for SQL server 2008.
Can some one tell me from where i can download the correct version of the sample database?

I need this database as i can not run the tutorials for creating ETL packages.

thanks
Pankaj
Andras Belokosztolszki
Andras Belokosztolszki
SSCertifiable
SSCertifiable (5.6K reputation)SSCertifiable (5.6K reputation)SSCertifiable (5.6K reputation)SSCertifiable (5.6K reputation)SSCertifiable (5.6K reputation)SSCertifiable (5.6K reputation)SSCertifiable (5.6K reputation)SSCertifiable (5.6K reputation)

Group: General Forum Members
Points: 5575 Visits: 1585
On the above page in the top right corner click on "All Releases", and then on the next page in the same location click on "SQL Server 2005 SP2a"

A direct link is http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx?ReleaseId=4004

Regards,
Andras



Andras Belokosztolszki, MCPD, PhD
GoldenGate Software
pankaj-426531
pankaj-426531
SSC Veteran
SSC Veteran (259 reputation)SSC Veteran (259 reputation)SSC Veteran (259 reputation)SSC Veteran (259 reputation)SSC Veteran (259 reputation)SSC Veteran (259 reputation)SSC Veteran (259 reputation)SSC Veteran (259 reputation)

Group: General Forum Members
Points: 259 Visits: 109
I have downloaded and installed adventureworksDB for SQL server 2005 but still i cant see it in my databases in my management studio.

When i try to create a OLE DB connection manager, i cant see the adventurworksDB in the local host.

Can some one help me in resolving the issue?
GilaMonster
GilaMonster
SSC Guru
SSC Guru (229K reputation)SSC Guru (229K reputation)SSC Guru (229K reputation)SSC Guru (229K reputation)SSC Guru (229K reputation)SSC Guru (229K reputation)SSC Guru (229K reputation)SSC Guru (229K reputation)

Group: General Forum Members
Points: 229466 Visits: 46344
I think all the installer does is drop the files in SQL's data directory. Assuming default installation, you'll find them in C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data

Go to management studio and attach the db (right click Databases, select attach, browse to the mdf, select it, then follow the dialog.)

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


Andras Belokosztolszki
Andras Belokosztolszki
SSCertifiable
SSCertifiable (5.6K reputation)SSCertifiable (5.6K reputation)SSCertifiable (5.6K reputation)SSCertifiable (5.6K reputation)SSCertifiable (5.6K reputation)SSCertifiable (5.6K reputation)SSCertifiable (5.6K reputation)SSCertifiable (5.6K reputation)

Group: General Forum Members
Points: 5575 Visits: 1585
Gail is right about the installer for SQL Server 2005 not attaching the sample database. This information is also on the download page I included :

"These installers require you to manually attach the database after installation. See the Release Notes for details."

The release notes on that page also give you step-by-step information about how to attach the database.
if you install the sample database files to the C:\Program Files\Microsoft SQL Server\MSSQL.\MSSQL\Data\ path, then you can attach the sample database with:

exec sp_attach_db @dbname = N'AdventureWorks',
@filename1 = N'C:\Program Files\Microsoft SQL Server\MSSQL.\MSSQL\Data\AdventureWorks_Data.mdf',
@filename2 = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_log.ldf'

it is nice to see that for SQL Server 2008 the installer will take care of the above.

Regards,
Andras



Andras Belokosztolszki, MCPD, PhD
GoldenGate Software
pankaj-426531
pankaj-426531
SSC Veteran
SSC Veteran (259 reputation)SSC Veteran (259 reputation)SSC Veteran (259 reputation)SSC Veteran (259 reputation)SSC Veteran (259 reputation)SSC Veteran (259 reputation)SSC Veteran (259 reputation)SSC Veteran (259 reputation)

Group: General Forum Members
Points: 259 Visits: 109
thanks guys...the issue is resolved...the database was not attached...thats it...now its working fine..

gud work guys..
Matthew Mark-379998
Matthew Mark-379998
SSC Rookie
SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)

Group: General Forum Members
Points: 40 Visits: 26
I've been looking, reading info and installing sample databases etc, etc for the last 4 hours.
MSDN sure puts out a lot of bogus information. All instructions I've tried, just don't work.


Except yours. thank you. Very much!
venkateshmadhamanchi
venkateshmadhamanchi
Forum Newbie
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: General Forum Members
Points: 7 Visits: 0
you just installed....you have to attach the database from database management studio. right click on database object in object explorer and click on attach..it will show browsing window then select mdf file of the database yu had downloaded...then checkout the database in your object explorer.

note: when you select the mdf file of the database it will read ldf file also.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search