I am trying to set up a link to another database via a tsql stored procedure.
Calling sp_addlinkedserver works great from the query analyzer.
However, when called from the stored procedure, the operation fails,
saying that the "server" can not be found in sysservers and that I
need to execute sp_addlinkedserver.
Does someone know why I am having trouble with this?