Solved

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

Posted on 2011-03-04
4
413 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 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ms sql + help with query 2 43
EF5 How do I stop pre-compiled views? 8 48
Question about Common Table Expressions 3 40
Set a variable value in SQL Procedure 3 25
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
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…
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…

738 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