Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL linked server with oledb
Message
De
20/03/2002 18:09:45
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00633116
Message ID:
00635259
Vues:
16
What's the syntax for using the VFP OLE DB provider with SQL OPENROWSET? I'm trying the following:
SELECT a.*
FROM OPENROWSET('VFPOLEDB.1','C:\Program Files\Microsoft Visual FoxPro 7\Samples\Tastrade\Data\tastrade.dbc',
   'SELECT * FROM tastrade.suppliers') AS a
and getting the following:
Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'VFPOLEDB.1' reported an error.  
[OLE/DB provider returned message: Invalid path or file name.]
Can't seem to find much documentation on this (mutter...mutter).
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform