Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

MS SQL Server 2008 R2 64 Bit CSV/ Excel Import funktioniert nicht OPENROWSET

Empfohlene Antworten

Veröffentlicht

Hallo Zusammen,

ich habe mit meinem MS SQL Server 2008 R2 64 Bit Probleme CSV oder Excel Tabellen per Openrowset

zu importieren.

Hier mein Statement zum importieren der Excel-Tabelle

select * FROM OPENROWSET('MSDASQL', 'Driver={Microsoft Excel Driver

(*.xls)};DBQ=Database=C:\Daten\Distributoren\Wortmann\artikelfull.xls;HDR=YES',

'artikelliste_extendedtexts') AS A 

Ich erhalte dort folgende Fehlermeldung

Der OLE DB-Anbieter 'MSDASQL' für den Verbindungsserver '(null)' hat die Meldung '[Microsoft][ODBC Driver Manager] Der Datenquellenname wurde nicht gefunden, und es wurde kein Standardtreiber angegeben' zurückgeben.

Meldung 7303, Ebene 16, Status 1, Zeile 1

Das Datenquellenobjekt des OLE DB-Anbieters 'MSDASQL' für den Verbindungsserver '(null)' kann nicht initialisiert werden.

Ich habe im Netz gelesen, dass es am 64 Bit liegen soll. Kann dies jemand bestätigen? Kann mir auch jemand sagen wo ich dann so einen 64 Bit Treiber her bekomme?

Gruß

IT-Biene

  • 2 Wochen später...

Falls das noch relevant ist: Ja, Verhalten ist leider normal - Problem ist, dass die MDAC Komponenten (OLE DB Treiber für Access, Text, etc. ) nicht in 64Bit Version vorliegen.

Inzwischen gibt's die aber zum Download:

http://blogs.msdn.com FAQ: Why cannot 64-bit MSDASQL access a .csv text file?

Ähnliche Probleme hat man z.B. auch mit Office - hier empfiehlt sich selbst bei der 2013er Edition immer noch die 32-Bit Variante zu nehmen.

Grüße, Ripper

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.