I am using JDBC-ODBC DSN-less connection to connect to ms-excel file. I was able to query the excel file using query of form
SELECT * FROM [Sheet1$]
However this requires me to know the name of the Sheet in excel file (which may not always be Sheet1). Is there any way I can query the excel to always hit its 1st sheet?