OPENROWSET in 64-bit SQL 2005 installation

Posted on 2007-10-21
Last Modified: 2008-01-09
I'm trying the following command in a 64-bit installation of SQL Server 2005:

select * from
 OPENROWSET('Microsoft.Jet.OLEDB.4.0', 'Text;Database=C:\csv\;HDR=Yes;FMT=Delimited', Names#csv) i

but I get:

Msg 7403, Level 16, State 1, Line 2
The OLE DB provider "Microsoft.Jet.OLEDB.4.0" has not been registered.

What can I do?
Question by:PeterErhard
    LVL 142

    Expert Comment

    by:Guy Hengel [angelIII / a3]
    I read here:
    The is no way to use Jet driver from a 64-bit SQL Server unfortunately.  
    They did not port the driver to 64-bit.  
    So this would only work from a 32-bit SQL Server.
    Matt Neerincx [MSFT]

    Author Comment

    What other options do I have for referencing a CSV file from a 64-bit installation?
    LVL 142

    Accepted Solution

    My initial try would be to setup a (mini-) sql 2000 32 bit on that machine, that could server as intermediate step for such an operation...
    alternatively, the BULK INSERT with a format file might be helpful, if the file is truly csv.
    otherwise, only code (for example vbscript) could do the job...

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Introduced in Microsoft SQL Server 2005, the Copy Database Wizard ( is useful in copying databases and associated objects between SQL instances; therefore, it is a good migration and upgrade tool…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
    Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now