Solved

how can i add new server to the sql server 2008 ??

Posted on 2011-03-04
4
360 Views
Last Modified: 2012-05-11
i want to know that how can i add new server to the sql server 2008 ??

please refer the below code ...

exec sp_addserver 'Rubikube';

Open in new window


now above sp execute successfully but how can i use that server ..

please refer the attached snapshot ...


04-03-2011-5-38-26-PM.jpg
0
Comment
Question by:Parth48
  • 2
  • 2
4 Comments
 
LVL 3

Expert Comment

by:dazwillnot
Comment Utility
That Stored Procedure in that context will only create an entry for your named remote server on the local server.

More info: http://msdn.microsoft.com/en-us/library/ms174411.aspx

Are you trying to install a second server?  In which case I believe you will need to run the SQL Server 2008 installation from Disk.
0
 

Author Comment

by:Parth48
Comment Utility
now can u tell me how can i add new login to my server ??

using sp_addlogin ...

my server is below ...

ADMIN\SQLEXPRESS1

as described in the attached snapshot ....
0
 
LVL 3

Accepted Solution

by:
dazwillnot earned 500 total points
Comment Utility
Info here: http://msdn.microsoft.com/en-us/library/ms173768.aspx

sp_addlogin [ @loginame = ] 'login'
    [ , [ @passwd = ] 'password' ]
    [ , [ @defdb = ] 'database' ]
    [ , [ @deflanguage = ] 'language' ]
    [ , [ @sid = ] sid ]
    [ , [ @encryptopt = ] 'encryption_option' ]
[;]
0
 

Author Comment

by:Parth48
Comment Utility
but it will ask for password and then user can enter ??
is this possible ?
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
Digital marketing agencies have encountered both the opportunities and difficulties that emerge from working with a wide-ranging organizations.
The Bounty Board allows you to request an article or video on any technical topic, or fulfill a bounty request to earn points. Watch this video to learn how to use the Bounty Board to get the content you want, earn points, and browse submitted bount…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now