[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

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

Posted on 2011-03-04
4
Medium Priority
?
440 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
In this article, we’ll look at how to deploy ProxySQL.
Notifications on Experts Exchange help you keep track of your activity and updates in one place. Watch this video to learn how to use them on the site to quickly access the content that matters to you.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

650 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