title: extract data from sql and insert into excel
body: <p>i am trying to get my data from mysql into excel im using </p>
  
  <p><code>insert into OPENROWSET('Microsoft.Jet.OLEDB.4.0', 
      'Excel 8.0;Database=D:\testing.xls;', 
      'SELECT * FROM [main]') select * from adel;</code>
  <br>to insert data in my excel but i keep on getting this error <br></p>
  
  <pre><code>OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" returned message "The Microsoft Jet database engine could not find the object 'main'.  Make sure the object exists and that you spell its name and the path name correctly.".
  Msg 7350, Level 16, State 2, Line 1
  Cannot get the column information from OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)".
  </code></pre>
  
  <p><br>
  can anyone give me some pointer</p>