title: Import Excel data to SQL Server
body: <p>I want to insert the data from excel file into the SQL Server..
  I used the following SQL Statement:</p>
  
  <pre><code>SELECT * 
    FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0',
                    'Excel 8.0;Database=Y:\Path.xls',
                    'SELECT * FROM [Sheet$]')
  </code></pre>
  
  <p>But i am getting the following error -</p>
  
  <blockquote>
    <p>Msg 7403, Level 16, State 1, Line 1<br>
    The OLE DB provider "Microsoft.Jet.OLEDB.4.0" has not been registered.</p>
  </blockquote>