PRB: Sp_addlinkedserver Does Not Validate the OLE DB Provider (200794)
The information in this article applies to:
- Microsoft SQL Server 7.0
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q200794
BUG#: 41658 (Shiloh)
SYMPTOMS
When you set up a Microsoft SQL Server 7.0 distributed query, the sp_addlinkedserver stored procedure does not check to verify that the OLE DB provider name is valid or installed on the computer.
WORKAROUND
To set up a linked server, right-click Linked Servers under the Security folder in the SQL Server Enterprise Manager and then click New Linked Server on the shortcut menu. Only the OLE DB providers installed on the computer are shown.
Additionally, you can use the xp_enum_oledb_providers extended stored procedure to enumerate all available providers on the computer where SQL Server is installed. The following is an example of how to use this extended stored procedure:
use master
go
exec xp_enum_oledb_providers
go
Modification Type: | Major | Last Reviewed: | 10/29/2003 |
---|
Keywords: | kbprb KB200794 |
---|
|