linkserver - Open Data Connection

  • Hi,

    I create LINKSERVER for vfp database, i use openquery to get the data from the server as follows:-

    select *

    into #VFPCustomer

    from

    OpenQuery( MYVFPSERVER, 'select * from item')

    but i am trying to use the following statment :-

    select * from [MYVFPSERVER]...item

    but i have an error message :-

    Msg 7399, Level 16, State 1, Line 1

    The OLE DB provider "VFPOLEDB" for linked server "MYVFPSERVER" reported an error. The provider did not give any information about the error.

    Msg 7330, Level 16, State 2, Line 1

    Cannot fetch a row from OLE DB provider "VFPOLEDB" for linked server "MYVFPSERVER".

    regards

  • Try to use the Server name before the table name: as

    [ServerName].[schema].Table

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply