I am try to build a dataset that has about 15,000 records, which is then compared with over 25,000 records; a further update to parts using .net adapters is then done.
Workflows and subworkflows are putting server on halt for hours without success.
I am wondering if any one know how I can accomplish the folowing.
select t1.pratnum, t1.customer, t1.rev (select t2.rev from test.csv t2 where t2.partno = t1.partnum) from part t1
The following does not work for me (not from SQL Server nor Service Connect)
SELECT * FROM OPENQUERY
(
[My-SqlDBserver],
âSelect * FROM OPENROWSET
(
ââMSDASQLââ,
ââDriver={Microsoft Text Driver (*.txt; *.csv)};
DefaultDir=\My-fileLocation\z$\ESC\Pilot;ââ,
ââSELECT * FROM test.csvââ
)â
)
+++++++++++++++++++++++++
My errors are as follows:
Msg 7411, Level 16, State 1, Line 1
Server âMy-SqlDBserverâ is not configured for DATA ACCESS.
++++++++++++++++++++++++++++
This does not work for me either (not from SQL Server nor Service Connect)
select * from openrowset(âMSDASQLâ ,âDriver={Microsoft Access Text Driver (*.txt, *.csv)}; DBQ=\My-FileLocation\z$\ESC\Pilotâ
,âselect * from âtest.csvââ)
+++++++++++++++++++++++++++++
my errors are as follows:
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 1
Cannot initialize the data source object of OLE DB provider âMSDASQLâ for linked server â(null)â.
++++++++++++++++++++++++++++++++++++++
***** Please note: actual database and file location data scrambles for security, if you wish to test the above solution in you own environment do please edit to suit.