0

There are 8 separate queries I need to run and save to individual excel files. What's the best way of running this in toad rather than executing/saving each query?

5
  • write a script to write outputs to files and execute it from SQLPlus command line. Commented Sep 29, 2017 at 16:23
  • @VamsiPrabhala i'm still fairly new to toad/sql, how do I do that? Commented Sep 29, 2017 at 16:40
  • 1
    @excelmonkey93 : spool separate ".csv" files for all the queries and use "execute via sqlplus" feature of TOAD. Then open these files and save as excel. Commented Sep 29, 2017 at 18:42
  • I suggest @KaushikNayak's approach. You can follow my answer to a similar question here: stackoverflow.com/questions/15253440/… Commented Sep 30, 2017 at 2:29
  • There's no direct way to export to excel? You need to do .csv then convert to excel? Commented Oct 7, 2017 at 22:03

1 Answer 1

-1

Just figured out how to do this and I'm posting so that anyone else with the same problem can look at this as a possible solution.

Use the Automation Designer feature in TOAD for Oracle. Select export dataset and write in your query that you want exported and into what format you want it exported (I chose excel file). Repeat this process for all your queries. Select all "actions" and run.

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.