Home » SQL & PL/SQL » SQL & PL/SQL » Export of Table Data to Excel through PL/SQL code (Oracle Database 10g Enterprise Edition,10.2.0.4.0,IBM AIX64/RS6000 V4 - 8.1.0)
Export of Table Data to Excel through PL/SQL code [message #540142] Fri, 20 January 2012 07:19 Go to next message
bikash
Messages: 4
Registered: April 2010
Location: Mumbai
Junior Member
Hi Friends,

Please provide us the code for:

Export table data to excel file in Oracle PL/SQL.

Regards
Bikash
Re: Export of Table Data to Excel through PL/SQL code [message #540145 is a reply to message #540142] Fri, 20 January 2012 07:27 Go to previous messageGo to next message
Roachcoach
Messages: 1576
Registered: May 2010
Location: UK
Senior Member
I'll get right on that just as soon as the consultancy payment clears.

Or you post a proper test case and some explanations around the requirements.
Re: Export of Table Data to Excel through PL/SQL code [message #540149 is a reply to message #540145] Fri, 20 January 2012 07:43 Go to previous messageGo to next message
bikash
Messages: 4
Registered: April 2010
Location: Mumbai
Junior Member
Hi Roachcoach,

I have to leave now from office n i can check this on Monday only due to some work.As you suggested i have the scenario as:

A table temp1 has 10 columns and 1000 rows and i have to export this data to an excel file through stored procedure.

Thanks & Regards
Bikash
Re: Export of Table Data to Excel through PL/SQL code [message #540150 is a reply to message #540149] Fri, 20 January 2012 07:45 Go to previous messageGo to next message
Michel Cadot
Messages: 68643
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
And before correctly post SEARCH.
This has been addressed so many times that the only work you will have to is to choose among the solutions.

Regards
Michel
Re: Export of Table Data to Excel through PL/SQL code [message #612022 is a reply to message #540149] Fri, 11 April 2014 01:32 Go to previous messageGo to next message
Bikash.p
Messages: 11
Registered: April 2014
Location: Banglore
Junior Member
Hi,Bikash

Why you want to export?

Any way you can use Sql Developer. In Version 3.2.20.09 or more is very flexible for import and export. As per your table structure its easy to use Sql Developer.

Right Click on Table-->Export-->Under Export data section Chose format as -->excel.xml-->Then come to next block save as Separate file --> then choose your destination -->click next -->click next-->Finish.
Then check the destination. You can find your EXCEL file.

Regards.
Bikash
Re: Export of Table Data to Excel through PL/SQL code [message #612023 is a reply to message #612022] Fri, 11 April 2014 01:35 Go to previous message
Bikash.p
Messages: 11
Registered: April 2014
Location: Banglore
Junior Member
OMG . I am replying it . Its from 2 yr later . Ha ha ha.. So sorry , Actually i am new to this forum.
Previous Topic: Taking a Snapshot
Next Topic: Suggestion for Oracle AQ Dequeue Approach
Goto Forum:
  


Current Time: Tue Apr 23 20:57:55 CDT 2024