Home All Groups Group Topic Archive Search About

add server to sysservers

Author
16 Sep 2005 1:51 PM
mcnewsxp
is there a way to add a remote server name to sysservers in the master DB.
i am not able to use linked server.

Author
16 Sep 2005 1:56 PM
Brian Lawton
Yes, use the sp_addserver stored procedure.  Check books online for complete
syntax.

--
--Brian
(Please reply to the newsgroups only.)


Show quote
"mcnewsxp" <mcour***@mindspring.com> wrote in message
news:%238ZZOXsuFHA.2540@TK2MSFTNGP09.phx.gbl...
> is there a way to add a remote server name to sysservers in the master DB.
> i am not able to use linked server.
>
Author
16 Sep 2005 2:33 PM
mcnewsxp
> Yes, use the sp_addserver stored procedure.  Check books online for
> complete syntax.

it's the same thing as sp_addlinkedserver - and again, i can't do that.
Author
16 Sep 2005 2:58 PM
Brian Lawton
You'll need to provide more of a description of the problem.  What exactly
are you trying to accomplish and what error message are you getting?

--
--Brian
(Please reply to the newsgroups only.)


Show quote
"mcnewsxp" <mcour***@mindspring.com> wrote in message
news:u4ZfeusuFHA.3764@TK2MSFTNGP09.phx.gbl...
>> Yes, use the sp_addserver stored procedure.  Check books online for
>> complete syntax.
>
> it's the same thing as sp_addlinkedserver - and again, i can't do that.
>
Author
16 Sep 2005 3:35 PM
Aaron Bertrand [SQL Server MVP]
> it's the same thing as sp_addlinkedserver - and again, i can't do that.

Can you provide more information?  What are you going to do with a server in
sysservers that you can't add by using sp_addlinkedserver?
Author
16 Sep 2005 4:53 PM
mcnewsxp
>
> Can you provide more information?  What are you going to do with a server
> in sysservers that you can't add by using sp_addlinkedserver?
>
>

do a select * from server.database.owner.table.

our dba won't allow linked servers.
but it turns out we moved stuff to two dbs and he allowed us to create one
linked server this time.
Author
16 Sep 2005 4:59 PM
Aaron Bertrand [SQL Server MVP]
> do a select * from server.database.owner.table.
>
> our dba won't allow linked servers.

His policy sounds more like he doesn't allow new rows in sysservers, so
whether you get it in there using sp_addlinkedserver or any other means,
you're still not allowed to have a linked server.

> but it turns out we moved stuff to two dbs and he allowed us to create one
> linked server this time.

Well, that's good, because using OPENQUERY / OPENROWSET and dynamically
specifying the server is not the best approach.
Author
16 Sep 2005 5:36 PM
mcnewsxp
>> do a select * from server.database.owner.table.
>>
>> our dba won't allow linked servers.
>
> His policy sounds more like he doesn't allow new rows in sysservers, so
> whether you get it in there using sp_addlinkedserver or any other means,
> you're still not allowed to have a linked server.
>
>> but it turns out we moved stuff to two dbs and he allowed us to create
>> one linked server this time.
>
> Well, that's good, because using OPENQUERY / OPENROWSET and dynamically
> specifying the server is not the best approach.
what is the best approach?
Show quote
>
Author
16 Sep 2005 5:40 PM
Aaron Bertrand [SQL Server MVP]
> what is the best approach?

Using a linked server and four-part naming.  What could possibly be your
dba's reasoning for not allowing a linked server and forcing you to use some
other approach?  Did your dba make any suggestions?  That's his job, isn't
it?
Author
16 Sep 2005 5:56 PM
mcnewsxp
>> what is the best approach?
>
> Using a linked server and four-part naming.  What could possibly be your
> dba's reasoning for not allowing a linked server and forcing you to use
> some other approach?  Did your dba make any suggestions?  That's his job,
> isn't it?
he finally conceded, as i said
he never gave a reason for not allowing linked server.
all i know is that every thing we do has to pass the highest security
checks.
Author
16 Sep 2005 4:04 PM
Trey Walpole
why not? permissions? then no, you won't be able to do this by inserting
directly into the sysservers table,either [which is what i think you're
asking]

mcnewsxp wrote:

Show quote
>>Yes, use the sp_addserver stored procedure.  Check books online for
>>complete syntax.
>>   
>>
>
>it's the same thing as sp_addlinkedserver - and again, i can't do that.
>
>

>
Author
16 Sep 2005 4:51 PM
mcnewsxp
why not? permissions? then no, you won't be able to do this by inserting directly into the sysservers table,either [which is what i think you're asking]

  [mc] that is what i needed to know.

  mcnewsxp wrote:
Yes, use the sp_addserver stored procedure.  Check books online for
complete syntax.

it's the same thing as sp_addlinkedserver - and again, i can't do that.

AddThis Social Bookmark Button