Solved

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

Posted on 2011-03-04
4
397 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
ID: 35035571
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
ID: 35035621
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
ID: 35035789
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
ID: 35044280
but it will ask for password and then user can enter ??
is this possible ?
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Help 27 57
PROPERCASE SCRIPT IN SQL 3 16
query optimization 6 15
sql2016-WIn10: standard,for SQL servc-account.. 51 30
Originally published Entrepreneur.com Booming numbers of freelancing professionals are changing the face of work. In the United States alone last year, the number of workers freelancing grew from 700,000 to 54 million, according to a Freelancers’…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
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…

830 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