From the daily post of http://www.sqlservercentral.com/blogs/powersql-by-prashanth-jayaram/2015/02/09/t-sql-read-csv-files-using-openrowset/I try to get data from the CSV.(With bulk insert it works fine)But when using :openrowset('MSDASQL' ,'Driver={Microsoft Access Text Driver (*.txt, *.csv)}; DefaultDir=C:\blog\' ,'select * from "input.CSV"')I got the message :OLE DB provider "MSDASQL" for linked server "(null)" returned message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".Msg 7303, Level 16, State 1, Line 1Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "(null)".In the ODBC list the MSDASQL isn't to be seen.I also can't find it on the internet.Has someone an idea what I am doing wrong ?
↧