The point is you design the Toad app / query inside Toad, save it, and then you can execute it from the command line with -a
Main Topics
Browse All TopicsHi EE,
Oracle Discoverer allows me to execute a query with a parm asking it to send results to excel
like this:
I put this command in a .bat file.
Can TOAD execute a query similarly in command line with a parm to export to excel?
pls advise, tx, sandra
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
hi mrjoltcola,
tx for writing,
overall idea i understand....
my quest is what do you mean when you say command line.
Does TOAD have a screen that it call command line?
If so, can i trouble you to upload a screen shot?
(When i say command line, i think of running from a DOS window. One can place the DOS command
in a .bat file, and then run it through Windows Control panel/Task Scheduler.)
pls advise, tx, s
hi mrjoltcola,
on a slight tangent, pls...
what i like about TOAD is when i downloaded TOAD it asked me if i want to have only
read-only capability when viewing the data grid.
does pl developer also allow only read only capability?
you see, my users do ad hoc reporting on their own using Discoverer which is read only ability.
if i was to recommend another tool, would want to be assured that alternatives also only
give user read only ability.
tx, s
>>my quest is what do you mean when you say command line.
I mean running a command from the DOS or UNIX prompt. Literally, the OS command line, not the Toad GUI.
Any query tool should work with a readonly account. You should not depend on the ad-hoc query tool for enforcing read-only, you should do that from the Oracle DBA side. Create a query only account with SELECT privileges on the schema.
Business Accounts
Answer for Membership
by: mrjoltcolaPosted on 2009-10-22 at 09:15:01ID: 25635885
Yes. With Toad commercial
Go to Utilities -> AppDesigner
Create an Import/Export app, name it.
Change it to "Export Dataset"
Right click -> Properties -> Set Export Format to Excel
Set the Filename
Click Dataset tab -> Set the query
Then to run it from Toad command line
toad.exe -a "MyApp"
Something to that effect.