venkatesh Sarivisetty
asked on
JAVA & SQL Automation
I have 5 Quiries which will pull the data from the oracle database and show the results
Now I am planning to work on a project like as below
1. JAVA program to use the Quries and pull those information and
2. Write into a spreadsheet with individual sheet names and
3. Finally send out an mail to the team with the link where I have copied the sheets.
Please share your thoughts
Thanks
Venkatesh.
Now I am planning to work on a project like as below
1. JAVA program to use the Quries and pull those information and
2. Write into a spreadsheet with individual sheet names and
3. Finally send out an mail to the team with the link where I have copied the sheets.
Please share your thoughts
Thanks
Venkatesh.
ASKER
How to do that , As I am fresher in JAVA and SQL DB combination . Please share any samples
ASKER
Also the final should be it should work as automated,, every day the team should the mail notification with the output what they are seeing in the spreadsheet.. Hope you have understood the req..
Let me know if you need more details.
Let me know if you need more details.
there are many examples of how to connect excel to an oracle database
sample via lmgtfy:
http://bfy.tw/Grwa
sample via lmgtfy:
http://bfy.tw/Grwa
there is no point for the mail
just open the spreadsheet and hit refresh
just open the spreadsheet and hit refresh
ASKER
it is asking user name and password. Datasorce and Location
from where I can get this information..
from where I can get this information..
from the same place you run your query ?
ASKER
No this is not my requirment. Thanks for your help!!!
I am looking for a java script which can be helpful to write into the spreadsheet and send the mail to the team
Thanks
Venkatesh.
I am looking for a java script which can be helpful to write into the spreadsheet and send the mail to the team
Thanks
Venkatesh.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I'm not a Java person but if you can create a spreadsheet with one query, it should be a simple matter to add a loop to run through several queries and create a new sheet on each loop.
Since you say you are new to Java, where did the Java requirement come from? Do you not have Java developers that work with you that can help?
I posted some .Net code back in 2013 that shows how to create a spreadsheet from table data.
Hopefully it can give you some ideas:
https://www.experts-exchange.com/questions/28225475/Best-way-to-export-to-excel-from-OracledataReader-in-c.html?anchorAnswerId=39450396#a39450396
Since you say you are new to Java, where did the Java requirement come from? Do you not have Java developers that work with you that can help?
I posted some .Net code back in 2013 that shows how to create a spreadsheet from table data.
Hopefully it can give you some ideas:
https://www.experts-exchange.com/questions/28225475/Best-way-to-export-to-excel-from-OracledataReader-in-c.html?anchorAnswerId=39450396#a39450396
ASKER
Thank you NetMinder, But I am keenly looking for Javascript . becoz I can add this code into a scheduler by adding a mail to the code.. Hope you have understood. thanks much for sharing your thoughts.
Thanks
Venkatesh.
Thanks
Venkatesh.
Java and JavaScript are two different things.
Not fully understanding but that is OK. I don't have to. You can schedule and email from just about any language.
Not fully understanding but that is OK. I don't have to. You can schedule and email from just about any language.
ASKER
If who can able to help on my requirent can help me to add the Mail notification at the end with the path where I am placing the output file is really helpful
Thanks
Venkatesh
Thanks
Venkatesh
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If possible, please post your code and accept that so others may benefit from it.
ASKER
As my own solution worked here rather than the suggestiong shared by the members
when they hit refresh in the sheet, the data gets reloaded.
Seems way easier