I have created the connection and reading the data from excel sheet using jdbc connection.But now i have two read two more excel sheets.
Should i create one more connection for another sheet access via jdbc ? Please advise
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming you created a DSN to the first excel sheet and reading it using JDBC-ODBC bridge, you need to create another DSN for the other excel sheet and create a connection with this DSN (and not with the DSN to first file) and read the other excel sheet from this connection.
This is similar to reading from a different database altogether that requires a different JDBC URL to be constructed with the second DB-specific values.