Solved

exporting data to excell sheet from oracle form

Posted on 2014-03-07
7
1,160 Views
Last Modified: 2014-04-03
hi
any one can provide an example on how to export data from oracle form to excell sheet
0
Comment
Question by:NiceMan331
7 Comments
 
LVL 22

Expert Comment

by:Steve Wales
Comment Utility
How much data and how many tables are you talking about ?

If it's a relatively small amount of data / tables, you can define an ODBC connection to the database, launch Excel and import via MSQuery.

I believe SQL Developer (free, from Oracle) can export results to a spreadsheet too.

There are also paid product solutions.

I use PL/SQL developer (Allround Automations is the developer)
TOAD (from Quest / Dell) can probably do something similar too.
0
 
LVL 20

Expert Comment

by:Amitkumar Panchal
Comment Utility
Agree with Steve Wales.

SQL Developer is free and can suffice your need. Toad does the same job, but it is paid.
0
 

Author Comment

by:NiceMan331
Comment Utility
thanx to all
but i'm speaking about users of my forms , i need them to be easy send data for the current record to ms excell , not to going to toad or sql developper where they don't have any experiance with
the data to be exported is a very few , may not more than 50 records per time
look the definition of the tables
here
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 19

Accepted Solution

by:
regmigrant earned 500 total points
Comment Utility
you can put a text box into the form with the data shown as comma separated items and let them cut and paste or add an export button that writes a text file. Both of these will need someone to do some coding.

The cut and paste is slightly error prone but is probably something they would understand quickly. The export file route will need them to load a text file into excel.

you can create an output file from a sql statement like this:-

Spool "an output file.CSV"
Select Id & ",", Name & ",", Address &"," from sometable where Id = 30013213
Spool off

This will create a comma separated file (in the directory you run sql from) which Excel will open and move each field to a separate column
0
 

Author Comment

by:NiceMan331
Comment Utility
there is no direct export to excell ?
0
 
LVL 19

Expert Comment

by:regmigrant
Comment Utility
Excel is a complex format, the simplest way to move data is with text, Forms themselves only have exports provided by the person who develops them
0
 

Author Comment

by:NiceMan331
Comment Utility
ok thanx
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now