--CONSULTANDO UMA PLANILHA
SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0',
'Excel 12.0; Database=C:\Hermes_\Banco\TabelaIBPTaxSP16.2.A; HDR=YES; IMEX=1',
'SELECT * FROM TabelaIBPTaxSP16.2.A') 
GO