I am trying for the first time to learn what to do and how to use SQLServer. I am following instructions in Books on Line to make a New Server Registration. The instructions read as follows:
Connecting to Servers
The toolbar of the Registered Servers component has buttons for the Database Engine, Analysis Services, Reporting Services, SQL Server Mobile, and Integration Services. You can register any of these server types for convenient management. Try this exercise to register the AdventureWorks database.
To register the AdventureWorks database
On the Registered Servers toolbar, click Database Engine if necessary. (It may already be selected.)
Right-click Database Engine, point to New, and then click Server Registration. The New Server Registration dialog box opens.
In the Server name text box, type the name of your SQL Server instance.
In the Registered server name box, type AdventureWorks.
On the Connection Properties tab, in the Connect to database list, select AdventureWorks, and then click Save.
I did steps 1 and 2 no problem. At step 3, for server name I typed MARKSDESKTOP\SQLEXPRESS
At step 4 I typed: Adventureworks
At step 5 I went to Connection Properties and at the "Connect to database drop down box there were 2 choices: <default> or <browse server> (not Adventureworks). If I click on browse server, The browse server for Database window pops up but Adventureworks is not listed there either.
I did a search on my C drive and there are lots of Adventureworks files present so I must have downloaded the database OK.
Does anyone know where I go from here to connect to the Adventureworks database so I can continue with this tutorial?
Please help. Thanks
Mark
Hi,
did you attach the database on the registered server first. if you instaleld the databse via msi, the database is not automatically attached.
1. Register the server first (without any set database, it uses the default then)
2. Right click in the server explorer on "Connect" --> Object Explorer
3. Naviagte on the object explorer to Databases, right click and select Attach..
4. Click add and select the Adventureworks MDF file, click ok and you are done, you should see the adventureworks db now in user databases.
HTH, Jens Suessmeyer.
http://www.sqlserver2005.de
|||do you mind telling me what books or website you are using to learn SQL? I am in the process of learning it myself. Thanks in advance.|||I can't imagine that you know less than me but so far I have been going through the following tutorial:
http://msdn2.microsoft.com/en-us/library/ms345318(SQL.90).aspx?notification_id=1721521&message_id=1721521
The amount of good it is doing is questionable. If you have any other suggestions, let me know.
Good luck.
No comments:
Post a Comment