Solved

exporting data to excell sheet from oracle form

Posted on 2014-03-07
7
1,437 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
exp/imp 25 101
oracle DR - data guard failover. 18 60
ER Diagram 3 42
Oracle TRC and TRM files are taking too much space at Oracle client computer. 5 64
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ā€¦
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

730 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