Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

openrowset MSDASQL Where to get that ?

$
0
0
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 ?

Viewing all articles
Browse latest Browse all 6525

Trending Articles