Hello, you are not logged in.  Login or sign up
Toad on Twitter Follow Toad Search Toad World Search
Blogger List   

All Recent Blog Entries
 

Johannes Ahrends
Unicode and Toad

Ben Boise
Toad SC Discussions

Kevin Dalton
Benchmark Factory

Steven Feuerstein
PL/SQL Obsession

Devin Gallagher
Toad SC discussions

Stuart Hodgins
JProbe Discussions

  Henrik "Mauritz" Johnson
Toad Tips & Tricks on the "other" Toads
  Mark Kurtz
Toad SC discussions
  Michael Lumbard
Toad SC discussions
Daniel Norwood
Toad for Data Analysts,
Toad Extension for Visual Studio
Debbie Peabody
Toad for Data Analysts
Gary Piper
Toad Reports Manager
John Pocknell
Toad for Oracle, JProbe
Kuljit Sangha
Toad SC discussions
Bert Scalzo Indicates Oracle ACE status
Toad for Oracle, Data Modeling, Benchmarking
Jeff Smith
Toad product family
Richard To
SQL Optimization
Jim Wankowski
DB2 - LUW and z/OS
John Weathington
  Toad World Editor
Toad World issues

  Toad Data Modeler Opens in a new window
Data Modeling
 
  Real Automated Code Testing for Oracle
Quest Code Tester blog

Blogs
Toad and Database Commentaries

Toad World blogs are a mix of insightful how-tos from Quest experts as well as their commentary on experiences with new database technologies.  Have some views of your own to share?  Post your comments!  Note:  Comments are restricted to registered Toad World users.

Do you have a topic that you'd like discussed?  We'd love to hear from you.  Send us your idea for a blog topic.

Toad + Excel = Easy Data Access
 
Location: Blogs Bert Scalzo's Blog    
 Bert Wednesday, December 17, 2008 6:27 AM
Many business analysts rely heavily upon Microsoft Excel as one of their primary tools for manipulating and reporting upon their business data. Sometimes they will send data extraction requests to their information systems (IS) people to perform and then deliver, sometimes they’ll instead access it themselves in place via the external data interface within Excel, and sometimes they’ll extract the data themselves from the Oracle database and then perform their magic upon that data in Excel. No matter what the scenario, the facts are that business people often want to work with Oracle database information in their tool of choice – MS Excel – and thus there is an overriding need for making that data readily accessible. That’s where Toad can be of great assistance. In this week’s blog I’ll review several very key and common scenarios whereby Toad facilitates working on Oracle data within Excel.
 
Look at this screen snapshot below – I performed a query within the Toad SQL Editor and merely want to copy the selected/highlighted rows from the Toad data grid into an Excel workbook. I simply perform a mulit-row selection, perform a copy (i.e. control-c) and a paste within Excel (i.e. control-v) – resulting in the Excel workbook PASTE_#1. That’s it – simply the steps one might expect in a Windows environment. But what if I don’t want the column headers pasted in with the data – can Toad handle that too?

The answer (as it almost always is with Toad) is YES – Toad can do that. You simply need to investigate to find the mechanism provided for whatever task you’re looking to perform. In his case, you simply select the rows and right-hand-mouse click to see the data-grid menu, and then choose “Save-As” – which displays the dialog shown in the upper center of the following screen snapshot, and choose Excel Instance as the export format. Note that the check-box for “Include column headers” is not checked, this turns off the column headers being taken along for the ride. Now when the OK button is then pressed, Toad will now create a new workbook in an already running instance of Excel, as shown by Sheet5 below. Again that’s all there is too it – pretty simple and easy.

But what if Excel was not already running at the same time? Now what can Toad do? As before the answer is YES –Toad can once again accommodate almost any of your needs. As in the prior screen snapshot simply choose the export type of Excel file as shown below with the “Launch after creation” check-box checked – then Toad will now instead create the new Excel .XLS file with the selected Toad data and launch Excel to display it.

So what if the reason you’re sending the data over to Excel is simply so you can create a fancy PDF report for some business manager, YES – Toad could do that too. I won’t go into great detail since I’m already a couple pages into this – but search Toad’s online help for “Fast Reports” for a complete explanation. But here’s a simple example of what one might do within Toad – and possibly eliminate the need for using Excel or any other tool.
 
Steps to create the PDF file for the report shown below:
  1. Multi-select your rows of data in a data grid as before
  2. Right-hand-mouse and now choose the “Report” option
  3. When Report Designer launches, design & save your report
  4. Preview your report to inspect the expected output format
  5. Save the report for later execution (they can even be scheduled)

Here’s what the report designer looks like:

And here’s an example report – which can be exported in all the file formats shown in the drop-down box below:

 
Permalink |  Trackback

Comments (1)  
By hillbillyToad on Wednesday, December 17, 2008 2:44 PM
nice writeup, the peep just can't seem to get enough of the toad and Excel integration points!

Search Blog Entries
 
Copyright 2010 by Quest Software  | Terms Of Use | Privacy Statement | Contact Us