I am using OPENDATASOURCE to read data from files
when the file extension is txt ,retrieve is successful
but when the file name type is not txt ,retrieve fails
is it mandatory to use only txt extension ?
thank you
when the file extension is txt ,retrieve is successful
Code:
select * from OpenDataSource( 'Microsoft.Jet.OLEDB.4.0', 'Data Source="c:\files";Extended properties="Text;hdr=no"')...clients#txt
Code:
select * from OpenDataSource( 'Microsoft.Jet.OLEDB.4.0', 'Data Source="c:\files";Extended properties="Text;hdr=no"')...clients#aln
thank you
Comment