Question : OPENROWSET in 64-bit SQL 2005 installation

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?

Answer : OPENROWSET in 64-bit SQL 2005 installation

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...
Random Solutions  
 
programming4us programming4us