Re: Got an Exception error - still
- From: "Henry Jones" <henry@xxxxxxxx>
- Date: Wed, 22 Nov 2006 14:51:42 -0800
On the screen to attach the database, the only choice is adding the mdf.
Once the mdf is chosen, both the mdf and ldf files appear below in thebox.
I still get the error
"Jay B" <jayB@xxxxxxxxxxx> wrote in message
news:rz39h.37$UA5.32@xxxxxxxxxxxxxxx
there are 2 files that make up a database, the mdf and the ldf.
they act as a set.
Henry Jones wrote:
I got an error when I tried to attach to the database in the folder that
it was installed in.
"Could not find row in sysindex for database ID 9, object ID 1, index ID
1. Run DBCC CHECKTABLE on sysindexes. Could not open new database
"AdventureWorks". CREATE DATABASE is aborted. (Microsoft SQL Server,
Error: 602)
"Jay B" <jayB@xxxxxxxxxxx> wrote in message
news:cp09h.26$UA5.8@xxxxxxxxxxxxxxx
simple. databases can be in any folder on your computer.
with that said, simply go to the databases node in the tree, right click
and use the ATTACH option, then sepecify the folder where you have the
adventureworks. if you want to move it, then move it before attaching.
Henry Jones wrote:
I went to Microsoft downloads and downloaded the AdventureWorks.msi
file. When it ran, it says that it installed AdventureWorks.
I think I have SQL 2005 Express and SQL 2005 on my PC. There are two
directories: C:\Program Files\Microsoft SQL Server\MSSQL\Data
and C:\Program Files\Microsoft SQL Server\MSSQL.1\Data
The AdventureWorks has been placed in the C:\Program Files\Microsoft
SQL Server\MSSQL.1\Data directory, but when I bring up SQL Server
Management Studio, I don't see AdventureWorks. The databases I have
associated with this are all under the C:\Program Files\Microsoft SQL
Server\MSSQL\Data directory.
How can I import the table into SQL server and why did the MSI install
put it in the wrong place.
Thanks for any guidence and help on this "day before Thanksgiving"
.
- Follow-Ups:
- Re: Got an Exception error - still
- From: Arnie Rowland
- Re: Got an Exception error - still
- References:
- Trying to Install AdventureWorks in SQL 2005
- From: Henry Jones
- Re: Trying to Install AdventureWorks in SQL 2005
- From: Jay B
- Got an Exception error
- From: Henry Jones
- Re: Got an Exception error
- From: Jay B
- Trying to Install AdventureWorks in SQL 2005
- Prev by Date: Re: Help Please SQL 2000 Client Tools
- Next by Date: Re: Got an Exception error - still
- Previous by thread: Re: Got an Exception error
- Next by thread: Re: Got an Exception error - still
- Index(es):
Relevant Pages
|