Quantcast
Channel: FLEXquarters.com Limited
Viewing all articles
Browse latest Browse all 313

Troubleshooting - Multiple tables exist error in Linked Server

$
0
0

Troubleshooting - Multiple tables exist error in Linked Server

Problem Description:

I am trying to run a query using a sql server database link to Quickbooks using QRemote. I can setup the linked server fine in sql server and the connection has been tested to work. However, we I try to run the query:

SELECT * FROM QRemote...InvoiceLine

The response is:

The OLE DB provider "MSDASQL" for linked server "QRemote" contains multiple tables that match the name "InvoiceLine".

I try the select through VB Demo and it works fine not using the linked database. Please help as to where the issue might be.



Solutions:

You have not configured MSDASQL property for linked server.

The OLE DB provider options for managing linked queries can be set in SQL Server Management Studio. 

http://support.flexquarters.com/esupport/newimages/MultipleTables/step1.png

In Object Explorer, right-click the provider name and select Properties for MSDASQL. First six properties should be enabled, please enable first six properties. 

http://support.flexquarters.com/esupport/newimages/MultipleTables/step2.png

For Multiple tables exist error, "Level zero only" property should be set.   


Viewing all articles
Browse latest Browse all 313

Trending Articles