OSql

CMS25

New Member
Hallo,

ich habe folgendes Problem. Ich verwende MS SQL 2000 und möchte anhand des Dienstprogrammes Osql auf eine Access Tabelle zugreifen. Wie kann ich das machen?

Ich hab das bisher so versucht zu lösen:

osql -E -D C:\Accessdatenbank.mdb -q "Select * from ACCESSTABELLE" -o C:\test.txt

Anschließend bekomme ich die Fehlermeldung, dass die ODBC-Verbindung zur Accessdatenbank.mdb nicht gefunden werden kann.

Kann mir jemand helfen?

Viele Grüße
CMS
 
ODBC-Verbindung zur Accessdatenbank.mdb nicht gefunden werden kann.

Hast du die ODBC Verbindung in der Datenquellenverwaltung korrekt eingerichtet und auch getestet? Funktioniert diese?

Hast du die Syntax überprüft?
 
Super danke, das geht schon mal. Allerdings bekomme ich jetzt eine weitere Fehlermeldung...

[ODBC Driver Manager] Driver's SQLSetConnectAttr failed
[ODBC Driver Manager] Driver's SQLSetConnectAttr failed
[ODBC Microsoft Access Driver]Invalid connection string attribute APP
[ODBC Microsoft Access Driver]Invalid connection string attribute WSID
[ODBC Microsoft Access Driver]Invalid connection string attribute APP
[ODBC Microsoft Access Driver]Invalid connection string attribute WSID
[ODBC Microsoft Access Driver]Invalid connection string attribute APP
[ODBC Microsoft Access Driver]Invalid connection string attribute WSID
[ODBC Microsoft Access Driver]Invalid connection string attribute APP
[ODBC Microsoft Access Driver]Invalid connection string attribute WSID
[ODBC Microsoft Access Driver]Optional feature not implemented


Was ist hier das Problem?
 
Back
Top