[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 446
  • Last Modified:

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

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
Parth48
Asked:
Parth48
  • 2
  • 2
1 Solution
 
dazwillnotCommented:
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
 
Parth48Author Commented:
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
 
dazwillnotCommented:
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
 
Parth48Author Commented:
but it will ask for password and then user can enter ??
is this possible ?
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now