Re: SQL Triggers and VFP Table Connection

From: Todd (tmcguire_at_dimen-intl.com)
Date: 12/22/04


Date: Wed, 22 Dec 2004 09:07:14 -0500

Here's how to setup a linked server to a VFP database (and can then access
any of the tables).

EXEC sp_addlinkedserver
   @server = 'MyVFPDatabase',
   @provider = 'vfpoledb.1',
   @srvproduct = 'Microsoft OLE DB Provider for Visual FoxPro',
   @datasrc = 'C:\SAMPLE.DBC'
GO

And then access it...
SELECT * FROM MyVFPDatabase...JobData WHERE ...
GO

Hope this helps.
Todd

<bwalke@lbrspec.com> wrote in message
news:1103664713.478764.68070@c13g2000cwb.googlegroups.com...
> Is it necessary to setup up linked servers if only accessing one table
> and not an entire database. Is it possible to setup a linked server to
> only one table. Also, I have tried to setup linked server to the
> visual foxpro drive in Enterprise Manager and had little success. Any
> suggestions?
>
> The Visual FoxPro Table I am trying to access is: JobData
>
> Location: Network Drive - v:\data\database\
>
> Provider Name: MS OLE DB Provider for ODBC Drivers
> Product Name: vfpoledb
> Data Sourse: v:\
> Provider String: v:\data\database\jobdata.dbf
> Location: v:\
> Catelog:
>
> Creates Error.
>
> Brett
>



Relevant Pages

  • Re: SQL Triggers and VFP Table Connection
    ... Is it necessary to setup up linked servers if only accessing one table ... I have tried to setup linked server to the ... The Visual FoxPro Table I am trying to access is: ... Provider Name: MS OLE DB Provider for ODBC Drivers ...
    (microsoft.public.sqlserver.server)
  • Re: "Access denied" error using OpenQuery to a linked Analysis server
    ... sp_addlinkedserver with MSOLAP.2 instead of "Microsoft OLE DB Provider ... for Olap Services 8.0" from within Enterprise Manager. ... I also changed the Data source on the linked server from the actual ...
    (microsoft.public.sqlserver.olap)
  • Re: linked server using IBM OLE DB Provider for DB2
    ... "The OLE DB provider must be configured to allow inprocess. ... Under server Objects -> Linked Servers -> Providers right click on the provider being used and select properties. ... If that does not give you a clue, then could you provide a script of your linked server, linked server logins, and the udl file? ... You mentioned you do not have the Microsoft OLE DB Driver, but it is freely downloadable here: ...
    (microsoft.public.sqlserver.connect)
  • RE: is this a Bug in SQL Server 2000 ?
    ... > exec sp_addlinkedsrvlogin 'baanb',false,null,'pass','pass' ... Oracle ODBC driver in conjunction with the Microsoft OLE DB Provider for ... Which linked server returned the correct result? ...
    (microsoft.public.sqlserver.server)
  • Re: OPENDATASOURCE problem
    ... >tbl_CLASSES is an SQL Server table. ... >Microsoft OLE DB Provider for SQL Server error '80040e14' ... >Ad hoc access to OLE DB provider 'Microsoft.Jet.OLEDB.4.0' has been denied. ... >You must access this provider through a linked server. ...
    (microsoft.public.sqlserver.programming)

Loading