Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Querying Free Tables (DBF) using OPENROWSET with SQL 7.0
Message
From
27/06/2000 09:20:52
 
 
To
22/06/2000 07:58:47
Emanuele Bonin
EB Soluzioni Informatiche
Tezze S/B, Italy
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00382832
Message ID:
00384995
Views:
16
Hi Emanuelle,

When I passed the command (Free Table):

SELECT * FROM OPENROWSET('MSDASQL.1',
'DRIVER={Microsoft Visual FoxPro Driver};SourceDB=c:\material.DBF;',
'SELECT * FROM material')

I've got the error message:

Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'MSDASQL.1' reported an error.
[OLE/DB provider returned message: [Microsoft][ODBC Visual FoxPro Driver]SourceType]
[OLE/DB provider returned message: [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed]

What am I missing?

T.I.A


>>Does anybody know how can I query a DBF file (free table) using command OPENROWSET (with OLE DB Provider for ODBC) in query analyser in SQL 7.0?
>>
>>T.I.A.
>
>Here An Example With Using of DBC:
>
>SELECT * FROM OPENROWSET('MSDASQL.1',
>'DRIVER={Microsoft Visual FoxPro Driver};SourceDB=MyPath\MydataBase.DBC;SourceType=DBC',
>'SELECT * FROM MyDataBase!MyTable')
>
>If you have a free Table you can use this:
>
>SELECT * FROM OPENROWSET('MSDASQL.1',
>'DRIVER={Microsoft Visual FoxPro Driver};SourceDB=MyPath\MyTable.DBF;',
>'SELECT * FROM MyTable')
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform