sgaurav7
asked on
sysservers
Hi,
I am trying to create a Stored Procedure but it gives me an error
"Could not find "ABCSERVER" in sysservers. Execute sp_addlinkserver to add the server to sysservers"
How do I add this?
Thanks
I am trying to create a Stored Procedure but it gives me an error
"Could not find "ABCSERVER" in sysservers. Execute sp_addlinkserver to add the server to sysservers"
How do I add this?
Thanks
Can you post the SP you are trying to add?
ASKER
what does sp_addlinkedserver does?
you tried looking in the BOL?
Creates a linked server, which allows access to distributed, heterogeneous queries against OLE DB data sources. After creating a linked server with sp_addlinkedserver, this server can then execute distributed queries. If the linked server is defined as Microsoft® SQL Server™, remote stored procedures can be executed.
etc... Have a read
Creates a linked server, which allows access to distributed, heterogeneous queries against OLE DB data sources. After creating a linked server with sp_addlinkedserver, this server can then execute distributed queries. If the linked server is defined as Microsoft® SQL Server™, remote stored procedures can be executed.
etc... Have a read
Can you post the SQL for the SP that is throwing this error? Are you actually trying to get data from another SQL Server / Oracle / Access / Text File / Excel etc..??
Dave
Dave
ASKER
And how do I link a server?
Is it just sp_addlinkedserver 'servername'
?
Is it just sp_addlinkedserver 'servername'
?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.