Abaixo você confere como fazer consultas nas tabelas do Excel
-- Com o script abaixo você não precisa criar um DBLink -- para acesso ao Excel. SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database=c:arquivo.xls', Analise$); --Caso Ad Hoc não esteja configurado execute o comando abaixo SP_CONFIGURE 'show advanced options', 1; RECONFIGURE; SP_CONFIGURE 'Ad Hoc Distributed Queries', 1; RECONFIGURE;