Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Database output results to Excel

 
Angela Koda
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I checked all topics but could not find how to output database results to Excel. My SQL/stored procedures get database results from Oracle Database and I need to output data to Excel spreadsheet with cutomized formatting in spreadsheet. I am interested in mainly creating a Java application and not servlet/JSPs. Any help on this ?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Angela,
If you don't need formatting, you can create a comma delimitted file and import it into Excel. If you need formatting, look into a framework like poi/hssf
 
krishnaswamy venkataraman
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Angela Koda:
I checked all topics but could not find how to output database results to Excel. My SQL/stored procedures get database results from Oracle Database and I need to output data to Excel spreadsheet with cutomized formatting in spreadsheet. I am interested in mainly creating a Java application and not servlet/JSPs. Any help on this ?

are you show the results now in Jsp page? If so then save the same file in different name and change the content type to ms-excel and open it on click of a button it will open in excel with same format as what u see in browser!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic