Solved

exporting data to excell sheet from oracle form

Posted on 2014-03-07
7
1,313 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
ID: 39915111
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 21

Expert Comment

by:Amitkumar Panchal
ID: 39915209
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
ID: 39915443
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
ID: 39917093
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
ID: 39930964
there is no direct export to excell ?
0
 
LVL 19

Expert Comment

by:regmigrant
ID: 39931298
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
ID: 39949534
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
EXECUTE IMMEDIATE 5 71
What is the version of ojdbc6.jar 2 60
Oracle sql query 7 61
upgrading Oracle 10g/ 11g / 11g R2 to Oracle 12c 25 54
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines

777 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