Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

store data from a table into excel sheet and email

vpolasaOct 8 2008 — edited Oct 24 2008
Hi all,

I am just wondering, i m not sure where to start. I want to insert data from a table into an excel spread sheet.

I'm working on a stored procedure with 3 input parameters:
1. the actual query
2. userid
3. the column headers (comma separated) - these will be in the same order as the outer select statement in the query itself. I will use the column headers for the respective columns in Excel worksheet.
When the proc is executed, the excel is populated. If the record count is > 65536, then I need to create multiple worksheets in the same excel file.

How can i do that? Can any body please help with this..?
This post has been answered by jeneesh on Oct 9 2008
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 20 2008
Added on Oct 8 2008
24 comments
3,920 views