﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Ben Boise's Blog</title>
    <description>&lt;table&gt;
        &lt;tr&gt;
            &lt;td valign="top"&gt;&lt;img height="183" width="139" alt="" src="/Portals/0/Blog/blog-ben-boise.png" /&gt;&lt;/td&gt;
            &lt;td valign="top"&gt;
            &lt;p&gt;Ben Boise has been with Quest Software since June 2007 working in the PreSales group as a Solutions Architect. Ben has over 12 years in IT and has worn numerous hats during this time. He has experience in Systems Support, Software Testing, Software Development and Professional Services.&lt;/p&gt;
            &lt;p&gt;In his blog, he'll share his insights on Toad family products.&lt;/p&gt;
            &lt;p&gt;&lt;font color="#003366" size="3"&gt;&lt;strong&gt;Recent postings:&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
&lt;/table&gt;</description>
    <link>http://toadworld.com/BLOGS/tabid/67/BlogId/33/Default.aspx</link>
    <language>en-US</language>
    <managingEditor>Ben Boise</managingEditor>
    <webMaster>webmaster@toadworld.com</webMaster>
    <pubDate>Tue, 16 Mar 2010 07:38:40 GMT</pubDate>
    <lastBuildDate>Tue, 16 Mar 2010 07:38:40 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Blog RSS Generator Version 3.2.0.15477</generator>
    <item>
      <title>Just Bottom Line it for me, will ya?</title>
      <description>&lt;div&gt;
&lt;p&gt;I have to giggle whenever I read the title of this entry. No, it’s not because I think I’m the King of Comedy (though, I do look pretty funny). The title came from a quote spoken by a former boss I had in a previous life. We were in a meeting with one of those co-workers who notoriously covers all the details of a topic, but rarely gets to the point. After about an hour of soaking in this increasingly irrelevant series of details, my boss finally said “just bottom line it for me &lt;name removed for obvious reasons&gt;.” The phrase became a favorite joke around the cafeteria table.  &lt;/p&gt;
&lt;p&gt;As I expand my understanding of DB2 LUW, I occasionally get stuck in the details. As users and creators of technology, it’s very easy to get so caught up in the details of what we’re doing that we lose sight of the proverbial “big picture.” As I was poking around in Toad for DB2, I noticed a screen I had previously ignored:&lt;/p&gt;
&lt;p&gt;&lt;img width="800" height="599" alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_020510-1.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;What you see, in the above screenshot, is the Database screen from the Database Explorer (requires the Database Administration configuration of Toad for DB2 LUW). I have spent a lot of time in the Database Explorer. How is it that I’ve overlooked this screen so frequently? Well, it’s because I’ve spent most of the time exploring other objects like schemas, tables, buffer pools; in other words, too much time mired in the details. What I enjoy about this screen is that I can use it to help me get back to the “big picture.” Each tab presents high-level information about the database you’ve selected. In the above screenshot, you can see the connection information about your current connection.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_020510-2.gif" /&gt;&lt;br /&gt;
&lt;strong&gt;**The Applications Tab&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The Applications tab shows me summary information about the currently connected applications in my database. When I select an application, the bottom portion of the screen will show more detailed information, such as Locks and current transactions the application is processing. In fact, you can right-mouse click on an application and Force it!&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_020510-3.gif" /&gt;&lt;br /&gt;
&lt;strong&gt;**The Space Usage tab&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Now I can graphically view space allocation as well as use my right-mouse click to perform operations on the various tablespaces.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_020510-4.gif" /&gt;&lt;br /&gt;
&lt;strong&gt;**The Monitor tab&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Now I can view lock activity, buffer pool hit rates, connections, and SQL activity over time.&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;You can probably guess what the Utilities, Grants, and Script tabs are showing you. Don’t forget, you can right-mouse click on the database name, using the left-hand side of the Database Explorer, to perform additional operations on the database:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_020510-5.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;I feel really silly for having glossed over this jewel for so long.&lt;/div&gt;</description>
      <link>http://toadworld.com/BLOGS/tabid/67/EntryID/499/Default.aspx</link>
      <author>Ben Boise</author>
      <comments>http://toadworld.com/BLOGS/tabid/67/EntryID/499/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://toadworld.com/Default.aspx?tabid=67&amp;EntryID=499</guid>
      <pubDate>Fri, 05 Feb 2010 08:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://toadworld.com/DesktopModules/Blog/Trackback.aspx?id=499</trackback:ping>
    </item>
    <item>
      <title>Proactive Index Usage Analysis with Quest SQL Optimizer for DB2 LUW</title>
      <description>&lt;div&gt;
&lt;p&gt;Using indexes can improve the performance of applications using the database. This is well known to many, many people. However, the application of too many indexes can have the reverse effect. There’s a balance that must be struck and you may find yourself needing to locate indexes that aren’t being used. If you’re already using the Quest SQL Optimizer for DB2 LUW, you can take advantage of the Index Usage Analyzer to help with this process.&lt;/p&gt;
&lt;p&gt;Before we jump into this feature, I feel I should provide you with a little bit of background information. The Index Usage Analyzer identifies unused indexes by analyzing access plans and it is a wizard-driven process. While working through the wizard, you must specify which SQL statements you want to use for analysis. These SQL statements can be entered while working through the wizard or they can be selected from other features of the SQL Optimizer; specifically, the SQL Repository or the SQL Scanner. Let’s touch briefly on these other features.&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;The SQL Scanner extracts SQL statements embedded in database objects, captured from the DB2 Event Monitor, or stored in application source code and binary files. Once the SQL is extracted, access plans are retrieved and then classified according to a Problematic, Complex or Simple category, all without executing these statements. This is useful for locating potentially poor performing statements that may need to be optimized using the SQL Optimizer. You can access this feature using the &lt;em&gt;Tools | SQL Scanner &lt;/em&gt;menu.&lt;/p&gt;
&lt;p&gt;The SQL Repository stores statements that are used in the analysis of database performance. These statements could very well be ones you’ve deemed to be critically important. The repository is really a file that is located somewhere accessible to the workstation on which the SQL Optimizer is installed. You can manage the contents of the repository using the &lt;em&gt;Tools | SQL Repository&lt;/em&gt; menu.&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;To start the Index Usage Analysis, select the &lt;em&gt;Tools | Index Usage Analyzer&lt;/em&gt; menu. Now, select the &lt;em&gt;Analysis | New Analysis&lt;/em&gt; menu. You’ll see the following screen:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" width="678" height="542" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_010610-1.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;** Please note you may have seen this screen when you first accessed the Index Usage Analyzer menu. Because I have previously run through this process, I chose the New Analysis menu option.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Click &lt;em&gt;Next&lt;/em&gt; and you’ll see something similar to the following:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_010610-2.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;** I think it’s a good idea to provide a proper Name and Description for the analysis. “Analyzer1” with no description isn’t terribly, well, descriptive. Save you from yourself (maybe it’s just me that’s absent-minded).&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Click &lt;em&gt;Next&lt;/em&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_010610-3.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;** Use SQL captured in the Repository or SQL Scanner&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Ok, now we’re coming to where we need to supply the SQL statements we want to use for this investigation. I’ve highlighted the dropdown list that is used to add SQL from the SQL Repository or SQL Scanner features I mentioned previously. You can also walk through another wizard-driven process and manually enter the SQL you want to investigate by clicking on the icon highlighted below:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_010610-4.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;** Use the above button to step through a wizard-driven process to manually add SQL&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Make sure to check the box next to the SQL you want to use in this investigation and then click the &lt;em&gt;Finish&lt;/em&gt; button. This starts the analysis process and when it’s complete, you’ll see a screen similar to the following:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_010610-5.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;We can use the tree to focus our analysis by looking at the tables used by the SQL we’re investigating as well as the SQL statements themselves. Selecting a node changes the information displayed in the right-hand pane. &lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_010610-6.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;** An example of a selected SQL node with the Index Used tab selected&lt;/div&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_010610-7.gif" /&gt;&lt;/p&gt;
&lt;div&gt;
&lt;p&gt;** An example of a table node selected and examining the Unused Index&lt;/p&gt;
&lt;p&gt;If I’m satisfied with the results, I can use a right-mouse click feature to actually drop an Unused Index. Naturally, I should use caution before dropping an index and take the appropriate steps to ensure this is the proper decision. If I’m examining the Unused Index tab, as shown below, I can right-mouse click on an index and select the &lt;em&gt;Drop Index&lt;/em&gt; option:&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_010610-8.gif" /&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I can examine my SQL statements, for unused indexes, by entering them or by selecting statements I’ve already captured in the SQL Scanner or SQL Repository. This is just another example of how many of the features in the Quest SQL Optimizer for DB2 LUW work together. Happy hunting! &lt;/div&gt;</description>
      <link>http://toadworld.com/BLOGS/tabid/67/EntryID/491/Default.aspx</link>
      <author>Ben Boise</author>
      <comments>http://toadworld.com/BLOGS/tabid/67/EntryID/491/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://toadworld.com/Default.aspx?tabid=67&amp;EntryID=491</guid>
      <pubDate>Wed, 06 Jan 2010 08:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://toadworld.com/DesktopModules/Blog/Trackback.aspx?id=491</trackback:ping>
    </item>
    <item>
      <title>Toad for DB2 LUW and Spotlight on DB2 LUW play well together</title>
      <description>&lt;div&gt;Did you know that you can call Spotlight on DB2 LUW from Toad for DB2 LUW and vice versa? Well, ok maybe you did. If that’s the case, please move along, there’s nothing to see here. Still with me? Then read on!&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Toad for DB2 LUW and Spotlight on DB2 LUW exist as separate executables on your workstation. You might now be thinking “no kidding, Ben.” That’s fine. After all, I have been called the Master of the Obvious. However, we may find ourselves working in one solution and then realize we have the need to work in the other solution. Naturally, we can just launch the solution of interest from our programs menu. However, let’s consider saving ourselves a little bit of time and launching them within some proper context. Let’s say I’m working in Toad for DB2 and have the need to do additional diagnostics using Spotlight. Rather than launching Spotlight, selecting the proper database connection and then connecting, I can simply use the &lt;em&gt;Tools -&gt; Quest Tools -&gt; Spotlight on DB2… &lt;/em&gt;menu within Toad:&lt;/p&gt;
&lt;p&gt;&lt;img width="480" height="481" alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_121509-1.gif" /&gt;&lt;/p&gt;
&lt;p&gt;Spotlight on DB2 LUW then loads and creates a new Spotlight connection using the connection’s information from Toad for DB2!&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_121509-2.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Let’s consider the opposite approach. I may be diagnosing an issue in Spotlight on DB2 LUW and realize that I need to perform an operation within Toad. In this example, I’m working in the Tablespace Analysis drilldown in Spotlight. If I right-mouse click on a tablespace, a window loads that allows me to operate on the object using Toad:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_121509-3.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;If I choose the &lt;em&gt;Alter…&lt;/em&gt; option, Toad for DB2 loads, connects to the database I was diagnosing in Spotlight, and then loads the appropriate menu for Altering this tablespace:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_121509-4.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;I encourage you to use the solutions in a manner that is most comfortable to you. With the integration that exists between Spotlight on DB2 LUW and Toad for DB2 LUW, I can save myself time and use these solutions within a relevant context. Just a little something else to think about! &lt;/div&gt;</description>
      <link>http://toadworld.com/BLOGS/tabid/67/EntryID/485/Default.aspx</link>
      <author>Ben Boise</author>
      <comments>http://toadworld.com/BLOGS/tabid/67/EntryID/485/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://toadworld.com/Default.aspx?tabid=67&amp;EntryID=485</guid>
      <pubDate>Tue, 15 Dec 2009 08:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://toadworld.com/DesktopModules/Blog/Trackback.aspx?id=485</trackback:ping>
    </item>
    <item>
      <title>Investigating and Managing Differences with SQL Navigator</title>
      <description>&lt;div&gt;Quest Software has two of the most powerful tools for PL/SQL development: Toad for Oracle and SQL Navigator for Oracle. Personally, I spend more time working with Toad for Oracle and I truly enjoy the solution. Before I proceed any further, I want to clarify a point. I am not advocating one solution over the other for PL/SQL development. That’s a conversation I refuse to have, because it borders on arguing which religion is better. I’m of the opinion that you should use the solution you’re most comfortable using and that helps you get your job done well. &lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Recently, I went to visit some customers who are using SQL Navigator for Oracle. Well, because I spend most of my time with Toad for Oracle, I found my SQL Navigator skills to be a bit rusty. In preparation for our meetings, I spent some time refamiliarizing myself with this solution. During this preparation, I discovered a feature that I wanted to share with you. Granted, I’m running the risk of exposing a feature you’re already aware of, but that’s the chance I take &lt;img alt="" width="16" height="16" src="http://toadworld.com/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/images/smiley/msn/wink_smile.gif" /&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;SQL Navigator for Oracle has a utility that allows you to compare both script differences and object differences. You can launch the comparison process in a few ways (imagine that). We’ll focus on using the menus within SQL Navigator for Oracle. All you have to do is select &lt;em&gt;Tools | View Difference&lt;/em&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" width="225" height="265" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_112309-1.gif" /&gt; &lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Selecting this menu loads the following dialog:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_112309-2.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;As you can see, we have the option of selecting &lt;em&gt;Script&lt;/em&gt; or &lt;em&gt;Object&lt;/em&gt;. The &lt;em&gt;Script&lt;/em&gt; option allows us to compare a variety of file types. If you click the ellipses, you can activate the &lt;em&gt;Files of Type &lt;/em&gt;dropdown to see the file formats that are supported for comparison purposes. I’m going to take us through an example of using the &lt;em&gt;Object&lt;/em&gt; comparison.&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;The interface is very straight-forward. Simply select the &lt;em&gt;Object&lt;/em&gt; radio button and fill out the proper objects you wish to compare from the various dropdowns. You’ll see something similar to the below screenshot:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_112309-3.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;**Please note that I am comparing the OW_CUSTOMERS table in my QUEST_DEV schema to the OW_CUSTOMERS table in my QUEST_PROD schema. My connection provides me access to both of these schemas; hence, the Session information is identical in both dropdowns.&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;You guess it. Now all we do is click the &lt;em&gt;OK&lt;/em&gt; button and we have the following results:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_112309-4.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;You can see that we have a column size difference between these two schemas. This is indicated by the blue syntax in the above screenshot (line #3). &lt;/div&gt;
&lt;div&gt;
&lt;p&gt;In my opinion, this is where it gets good. If I select the line that is different (line #3), you’ll notice a change in the toolbar:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_112309-5.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;The eraser icons give us the ability to &lt;em&gt;Delete left text&lt;/em&gt; or to &lt;em&gt;Delete right text&lt;/em&gt;. The arrow icons allow us to &lt;em&gt;Copy to right&lt;/em&gt; or &lt;em&gt;Copy to left&lt;/em&gt;.  What does this mean to us? Using these icons we can now react to these differences. &lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Let’s say that we need to make our QUEST_PROD table look like our QUEST_DEV table. Our QUEST_PROD table’s NAME column is 64 bytes and we need it to be 70 bytes. Using the &lt;em&gt;Copy to right&lt;/em&gt; arrow (the arrow pointing to the right), we can start to make this change:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_112309-6.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Now, line #3 is identical on both the left-hand and right-hand sides of the screen. If you click on the floppy disk icon, on the toolbar, you’ll be prompted to save the changes as a script.&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Icon to click:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_112309-7.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Dialog to save changes:&lt;/p&gt;
&lt;p&gt; &lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_112309-8.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Now that we’ve saved our changes, we can very easily load the script into the editor and execute it to apply our changes. All we have to do is click on the SQL icon in the toolbar:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_112309-9.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;This loads our script into SQL Navigator for Oracle’s editor:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_112309-10.gif" /&gt; &lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;We can now execute this script to apply our desired changes!&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Investigating differences is very easy in SQL Navigator for Oracle. Perhaps equally important is the fact that we can react to these differences in a safe and logical manner. I find that I’m sometimes my worst enemy when it comes to managing changes. SQL Navigator for Oracle helps save me from myself. &lt;/div&gt;</description>
      <link>http://toadworld.com/BLOGS/tabid/67/EntryID/478/Default.aspx</link>
      <author>Ben Boise</author>
      <comments>http://toadworld.com/BLOGS/tabid/67/EntryID/478/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://toadworld.com/Default.aspx?tabid=67&amp;EntryID=478</guid>
      <pubDate>Mon, 23 Nov 2009 08:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://toadworld.com/DesktopModules/Blog/Trackback.aspx?id=478</trackback:ping>
    </item>
    <item>
      <title>Generate Schema Documentation in Toad for DB2</title>
      <description>&lt;div&gt; In one of my previous lives, I worked at a startup company testing software. Our application used Oracle as the back-end and the nature of my role had me working closely with our Oracle DBA. As part of our processes, our DBA had to build documentation describing the schemas our application needed. The reports included things like table names, column names and their data types, indexes, etc. This used to take him hours until he discovered the HTML Schema Doc Generator feature in Toad for Oracle. With a few clicks, he was able to build a report containing all relevant information needed for our documentation. Well, Toad for DB2 offers the same capability.&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;To generate a Schema Report, in Toad for DB2, select one or more schemas in the Database Explorer. Next, simply right-mouse click and select the &lt;em&gt;Send To | Schema Report&lt;/em&gt; menu. You should see something similar to the below screenshot:&lt;/p&gt;
&lt;p&gt;&lt;img height="600" alt="" width="800" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_102709-1.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;There are two sides of this screen that allow you to customize your report. The left-hand side shows you the list of objects that will be included in the report. If you wish to remove an object from the report, you can select it and hit the Delete key to remove it. The right-hand side contains the settings for the report. You can use these settings to refine the information you wish to include in the report. Once you’ve refined the object list as well as the report settings, you can select &lt;em&gt;Schema Report | Generate&lt;/em&gt; from the menu, or click the button on the toolbar highlighted in red below:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_102709-2.gif" /&gt;  &lt;/div&gt;
&lt;div&gt;
&lt;p&gt;A new tab will display the report:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_102709-3.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;The toolbar in the Report Preview tab provides additional functionality, such as adding a watermark, changing the report background and saving the report and emailing it as other types of files like PDF and Excel. If I make changes and want to refresh the report, I’ll need to click the icon shown in red below:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_102709-4.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Anyone having to produce this kind of documentation may find this feature of Toad for DB2 to be a huge time saver. Feel free to tell the boss it’ll still take 4 hours. What you do with your free time is your business ;-)&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;     &lt;/div&gt;</description>
      <link>http://toadworld.com/BLOGS/tabid/67/EntryID/465/Default.aspx</link>
      <author>Ben Boise</author>
      <comments>http://toadworld.com/BLOGS/tabid/67/EntryID/465/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://toadworld.com/Default.aspx?tabid=67&amp;EntryID=465</guid>
      <pubDate>Tue, 27 Oct 2009 07:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://toadworld.com/DesktopModules/Blog/Trackback.aspx?id=465</trackback:ping>
    </item>
    <item>
      <title>A Recent Customer Walk-through of Toad for Data Analysts</title>
      <description>&lt;div&gt;
&lt;p&gt;Sometimes, I’m asked to help a customer work through a particular challenge they’re facing when using one of Quest’s solutions. Many times, the meetings are one-on-one sessions with the customer where we take turns sharing our desktops to better understand the problems being faced and how the solution might be able to address the problems. I actually enjoy the one-on-one sessions, because it gives me deeper insight into how our customers are using our solutions. Plus, it’s a great way to meet and connect with people, which is the part of my job I enjoy the most. Yes, at times, I’ve been called ‘weird’.&lt;/p&gt;
&lt;p&gt;The most recent meeting was helping a customer using our Toad for Data Analysts solution working with an Oracle database. In this particular situation, the customer wanted to execute a query against multiple schemas and save the results to an Excel spreadsheet. The tables involved in the query exist in each of the roughly 250 schemas the customer needed to query. There are many ways we could have tackled this problem using Toad for Data Analysts. I was focused on how we could accomplish the goal in as few steps as possible. I want to share how we approached the problem.&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;Filter the list of objects for querying&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;The first step was to give the customer access to the various tables, across all schemas, he needed to query. The Object Explorer makes that easy for us. I suggested using the Dropdown view of the objects and entering the * wildcard in the schema list:&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;
&lt;img height="703" alt="" width="365" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_100109-1.gif" /&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The red box highlights the wildcard I mention. As you can see, this gives me access to all tables across every schema I have access to use (based on my database credentials). However, we needed to take it a step further and limit the list of tables to the subset the customer wanted to query. So, we filtered the list of tables as well:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_100109-2.gif" /&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The red box shows what the filter might have looked like for the customer. In my example above, I’ve filtered the list of tables using the following characters: *OW_*, which shows only tables that start with OW_ regardless of the schema in which they exist.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;Generate the SQL Syntax&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Fortunately, Toad for Data Analysts makes it very easy for us to generate SQL syntax. In our case, we needed to generate a select statement. To do this, we just used our Ctrl key to highlight the tables we wanted to query, clicked our right-mouse button, and selected the following menus: &lt;em&gt;Generate SQL -&gt; To Editor -&gt; Select Statement&lt;/em&gt;:&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;
&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_100109-3.gif" /&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;This loads the editor window and populates the Select syntax for every object we selected in the Object Explorer:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_100109-4.gif" /&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Now that we had our needed syntax, we saved the file with a .sql extension.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;Generate the Report&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The next step was to save the results to an Excel format. We decided to use the Export Wizard to help us with this process. This wizard is accessible from the &lt;em&gt;Tools -&gt; Export -&gt; Export Wizard&lt;/em&gt; menu:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_100109-5.gif" /&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I won’t walk you through every step of the wizard as much of it is very obvious. When we walked through the wizard, we specified that we were using a Query File and selected the file we created from the query process mentioned previously:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_100109-6.gif" /&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;We then specified the output format to be Excel and told the wizard where we wanted the generated file to be stored. The final screen of the wizard is worth mentioning, because it gives you a nice option:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_100109-7.gif" /&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;At the end of the wizard, we can choose to Export the data and/or Save template. Templates simply store the selections you made through the wizard. The idea being, rather than repeating this process over and over, I can simply choose to execute the template from the &lt;em&gt;Tools -&gt; Export -&gt; Execute Export Template&lt;/em&gt; menu. In fact, I can use the Toad for Data Analysts Automation feature to simply execute this template at a time of my choosing. For more on Templates, take a look at &lt;a href="http://www.toadworld.com/Portals/0/ToadTechPapers/Export%20and%20Import%20Templates%20in%20Toad%20for%20Data%20Analysis.pdf"&gt;templates&lt;/a&gt; on Toad World. &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Using these steps, we had achieved what the customer wanted to accomplish using Toad for Data Analysts. As I mentioned before, there are several other ways we could have approached this, but we seemed to discover a solution that worked well for the customer. Ultimately, creating happy customers is my job!&lt;/div&gt;</description>
      <link>http://toadworld.com/BLOGS/tabid/67/EntryID/451/Default.aspx</link>
      <author>Ben Boise</author>
      <comments>http://toadworld.com/BLOGS/tabid/67/EntryID/451/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://toadworld.com/Default.aspx?tabid=67&amp;EntryID=451</guid>
      <pubDate>Thu, 01 Oct 2009 07:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://toadworld.com/DesktopModules/Blog/Trackback.aspx?id=451</trackback:ping>
    </item>
    <item>
      <title>Sync points and Restarts in Toad for DB2</title>
      <description>&lt;div&gt;
&lt;p&gt;Managing and working with large scripts can be challenging. Failures during the execution of such scripts can make a person downright cranky. Personally, I’ve never liked scrolling through hundreds of lines of code to isolate the problem in a script, hopefully correct the issue, and then attempt to restart the execution at the proper line. For those of you using Toad for DB2 4.5, you may not be aware of a new feature that addresses precisely this problem.&lt;/p&gt;
&lt;p&gt;For scripts that are generated within Toad for DB2 4.5, you have the option to let Toad for DB2 generate what are known as Sync points. Sync points are special text that is recognized by Toad for DB2’s editor. They do two things: perform a commit and allow you to restart execution at a particular point within your script. In order for these sync points to appear, you must first enable them within Toad for DB2’s options. Simply navigate to &lt;em&gt;Tools | Options | Database | DB2 | General&lt;/em&gt; and check the “Generate scripts with syncpoint statements” checkbox.   &lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;&lt;img height="443" alt="" width="711" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_091009-1.gif" /&gt;&lt;/p&gt;
&lt;p&gt;Once this option has been selected, you’ll see the special text &lt;strong&gt;“#SYNC&lt;/strong&gt;”, followed by a number, appear in any script generated by Toad for DB2. Let’s take a look at an example:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_091009-2.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;In the above screenshot, I’ve highlighted several sync points generated by Toad for DB2. In this example, we have sync points numbered 10, 20, and 30. Remember, each sync point executes a commit, but it also allows us to restart our script execution at a particular point. In the above screenshot, these points are enumerated 10, 20, and 30.&lt;/p&gt;
&lt;p&gt;Toad for DB2’s editor allows us to restart our script execution at a particular sync point. To do this, I simply select the restart button from the editor toolbar:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_091009-3.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;I can also use the &lt;em&gt;Editor | Restart Script&lt;/em&gt; menu selections. In both cases, we’re presented with the following dialog:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_091009-4.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;I can use the dropdown and select the appropriate sync point:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_091009-5.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;Or I can simply type the appropriate sync point into the dropdown list. Once I’ve made my selection, the execution continues from the proper point in my script! Happy scripting!&lt;/div&gt;</description>
      <link>http://toadworld.com/BLOGS/tabid/67/EntryID/441/Default.aspx</link>
      <author>Ben Boise</author>
      <comments>http://toadworld.com/BLOGS/tabid/67/EntryID/441/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://toadworld.com/Default.aspx?tabid=67&amp;EntryID=441</guid>
      <pubDate>Thu, 10 Sep 2009 07:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://toadworld.com/DesktopModules/Blog/Trackback.aspx?id=441</trackback:ping>
    </item>
    <item>
      <title>Auto Completion and Workspaces in Toad Data Modeler</title>
      <description>&lt;div&gt;
&lt;p&gt;By default, adding an entity to a Workspace will cause this entity to be added to every workspace within your model. Well, the entity isn’t really being duplicated; it’s just that a shortcut to that entity is being added to every workspace in the model. Recently, we’ve received some questions from customers asking how they can change this behavior. Fortunately, it’s really easy to do. Before I tell you how to change this behavior, let’s walk through this behavior.&lt;/p&gt;
&lt;p&gt;Workspaces allow me to separate components of my model in order to organize them in a way that makes sense to me. For instance, I may need to create a workspace that contains the objects specific to customer information such as name, address, etc. I may create another workspace that contains objects specific to buying history. Really, this is very similar to creating sub-models in an effort to add sanity to our modeling efforts. In Toad Data Modeler, adding an object to one workspace in your model, automatically adds that object to your other workspaces within the model. Let’s start with an empty model that has three workspaces:&lt;/p&gt;
&lt;p&gt;&lt;img height="370" alt="" width="750" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_081009-1.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;In the above model, we have three workspaces: All Items, Workspace1, and Workspace2. All workspaces are empty. If I add an object, in this case, an Entity, to any workspace, the object automatically populates in the other workspaces. Let’s add an Entity to Workspace1:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_081009-2.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;If I select the All Items workspace, I see the following:&lt;/div&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_081009-3.gif" /&gt;&lt;/p&gt;
&lt;div&gt;And Workspace2:&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_081009-4.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;You can plainly see this Entity appears in every workspace even though we only added it to Workspace1. If we find this behavior undesirable, we can turn it off. In fact, we can turn it off for specific workspaces. All we have to do is right-mouse click in an empty area of the workspace and choose Workspace Format:&lt;/div&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_081009-5.gif" /&gt;&lt;/p&gt;
&lt;div&gt;And we see the following menu:&lt;/div&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_081009-6.gif" /&gt;&lt;/p&gt;
&lt;div&gt;All we have to do is uncheck the Auto Complete check box to turn this behavior off:&lt;/div&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_081009-7.gif" /&gt;&lt;/p&gt;
&lt;div&gt;
&lt;p&gt;Let’s do this for Workspace2 and then add another Entity to Workspace1:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_081009-8.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;Above, we see the two entities in Workspace1.&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;If we select the All Items workspace, we’ll see the Entity was added as expected:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_081009-9.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;But if we look at Workspace2, we’ll see this Entity hasn’t been added:&lt;/div&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_081009-10.gif" /&gt;&lt;/p&gt;
&lt;div&gt;This is the behavior that we wanted. All we have to do is change this option for every workspace in our model where we don’t want objects automatically populating. As luck would have it, we can make this the default behavior for all Physical Models. Go to the &lt;em&gt;Settings -&gt; Options&lt;/em&gt; menu, select Physical Model from the left-hand tree and the Workspace tab on the right hand side:&lt;/div&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_081009-11.gif" /&gt;&lt;/p&gt;
&lt;div&gt;You can see the Auto Complete option listed here:&lt;/div&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_081009-12.gif" /&gt;&lt;/p&gt;
&lt;div&gt;Setting the option here will prevent objects from populating in other workspaces when we’re working with the model. As you can see, you have the option of setting it at the Workspace level or making it the default behavior for the entire model. The choice is yours. Hope this helps!&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;</description>
      <link>http://toadworld.com/BLOGS/tabid/67/EntryID/427/Default.aspx</link>
      <author>Ben Boise</author>
      <comments>http://toadworld.com/BLOGS/tabid/67/EntryID/427/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://toadworld.com/Default.aspx?tabid=67&amp;EntryID=427</guid>
      <pubDate>Mon, 10 Aug 2009 07:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://toadworld.com/DesktopModules/Blog/Trackback.aspx?id=427</trackback:ping>
    </item>
    <item>
      <title>Two approaches to SQL Tuning using the Quest SQL Optimizer for Oracle</title>
      <description>&lt;div&gt;
&lt;p&gt;I sometimes worry that people are confused about how to use the Quest SQL Optimizer for Oracle to help them tune their SQL statements. The solution is extremely powerful and provides you with the options to control numerous aspects of the optimization process. In fact, I suggest you read Richard To’s articles on Toad World to get an in depth understanding of the optimization process and the various settings within the SQL Optimizer for Oracle that can be used throughout. His blog can be found here on Toad World: &lt;a href="http://www.toadworld.com/Community/QuestExpertsBlogs/tabid/67/BlogID/15/Default.aspx"&gt;&lt;font color="#800080"&gt;Richard To's Blog&lt;/font&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I will not pretend to be the expert that Richard To is when it comes to SQL optimization. I’m going to make a big leap and attempt to simplify the process for folks that might be having some trouble understanding this topic and what the SQL Optimizer for Oracle can do to help. In particular, I’m going to focus on just optimizing SQL statements by rewriting them. I frequently work with customers that have been unsuccessful in finding better alternatives using the SQL Optimizer for Oracle. In most cases, it’s because they do not fully understanding the approaches that are available within the solution nor how to use them. I’m hoping this topic may be of some value to the folks that are finding themselves in this situation.&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;SQL statements follow a particular path whenever they execute. I can ask Oracle to show me that path by requesting an Explain Plan. Each step in the plan has a cost associated with it. One of the challenges with cost, however, is that higher costs don’t always correlate directly to poorly performing SQL. When we optimize SQL statements we need to be able to influence the path that is taken when the statement executes so that we can achieve our desired performance. To do that, I can rewrite my SQL code until I achieve two things: An execution plan that is different from the original statement and an execution plan that is desirable (not necessarily less costly). This is not a trivial process.&lt;/p&gt;
&lt;p&gt;The crux of tuning SQL statements, in the SQL Optimizer for Oracle, is to automate much of the process of:&lt;/p&gt;
&lt;/div&gt;
&lt;ol&gt;
    &lt;li&gt;Creating alternative statements that are semantically equivalent to the original statement&lt;/li&gt;
    &lt;li&gt;Eliminating those alternatives that have identical execution plans to the original statement&lt;/li&gt;
    &lt;li&gt;Getting statistics for the execution of the alternative statements&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The first step helps us ensure that we’re retrieving identical records while rewriting our original statement. The second step helps us make sure that the statements follow a different execution path that might be considered more desirable than the original statement’s path. The third step provides us with more information about the statements’ executions, in real statistical terms, to help us choose the ideal alternative. Remember, the best alternative plan could very well be more costly than the original plan. That’s why the statistics generated by step 3 are so important.&lt;/p&gt;
&lt;div&gt;What’s great about the SQL Optimizer for Oracle is that I can be very hands-on in the 3 step process or I can be hands-off. If I’m a hands-on person, I might prefer to use the Tuning Lab. If I’m hands-off, I might choose the Batch Optimizer. In other words, if you’re very curious about the alternatives that are generated and want to get involved in the process, use the Tuning Lab. If you would rather just see what the best alternative statement is, if it exists, use the Batch Optimizer.&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;&lt;em&gt;Tuning Lab&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;img height="542" alt="" width="750" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_073109-1.gif" /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;Notice that I have the opportunity to see the different alternatives that are suggested and their corresponding plan costs. I can also use the left-hand side buttons to compare the alternatives and see differences in their syntax and execution plans:&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_073109-2.gif" /&gt;&lt;/p&gt;
&lt;p&gt;I can then pick and choose which alternatives to execute in order to see important execution statistics like Total Elapsed Time, Total CPU, Logical Reads, etc:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_073109-3.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;Now I can decide which alternative I consider to be the best alternative.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;
&lt;p&gt;&lt;em&gt;Batch Optimizer&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_073109-4.gif" /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;The above screen allows you to just say “just show me if a better alternative exists”. If it does, let me see some more detail:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_073109-5.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;We can still observe differences in syntax and execution plans. This time, we’re focusing solely on the original and the best performing alternative.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Regardless of which approach you want to take, the process remains the same:&lt;/div&gt;
&lt;ol&gt;
    &lt;li&gt;Creating alternative statements that are semantically equivalent to the original statement&lt;/li&gt;
    &lt;li&gt;Eliminating those alternatives that have identical execution plans to the original statement&lt;/li&gt;
    &lt;li&gt;Getting statistics for the execution of the alternative statements&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You just get to choose how involved you want to be during each step of this process. I know this is an oversimplification. That’s the idea. Richard’s blog provides much more detail about the numerous other features and options you can use during the optimization process. It’s definitely worth reading. I hope this helps anyone who may find themselves a bit lost when it comes to optimizing their SQL statements and how the SQL Optimizer for Oracle can help.&lt;/p&gt;
&lt;div&gt;Enjoy!&lt;/div&gt;</description>
      <link>http://toadworld.com/BLOGS/tabid/67/EntryID/421/Default.aspx</link>
      <author>Ben Boise</author>
      <comments>http://toadworld.com/BLOGS/tabid/67/EntryID/421/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://toadworld.com/Default.aspx?tabid=67&amp;EntryID=421</guid>
      <pubDate>Fri, 31 Jul 2009 07:00:00 GMT</pubDate>
      <slash:comments>1</slash:comments>
      <trackback:ping>http://toadworld.com/DesktopModules/Blog/Trackback.aspx?id=421</trackback:ping>
    </item>
    <item>
      <title>Extended ALTERs and Handling Data in Toad for DB2 LUW</title>
      <description>Last week, I was demonstrating some of our DBA-focused features of Toad for DB2 LUW (Linux, Unix, Windows). When we came to the topic of Extended Alters, the audience voiced some concerns about the efficiency of this feature. Specifically, they were concerned with how Toad for DB2’s generated script was handling the data stored in the table we were altering. The customer is dealing with very large data sets, so simple INSERT statements were not going to help. They wanted to know if Toad for DB2 could take advantage of some DB2 utilities that make this process more efficient. Let’s explore the scenario a little further.

</description>
      <link>http://toadworld.com/BLOGS/tabid/67/EntryID/412/Default.aspx</link>
      <author>Ben Boise</author>
      <comments>http://toadworld.com/BLOGS/tabid/67/EntryID/412/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://toadworld.com/Default.aspx?tabid=67&amp;EntryID=412</guid>
      <pubDate>Mon, 20 Jul 2009 08:00:00 GMT</pubDate>
      <slash:comments>1</slash:comments>
      <trackback:ping>http://toadworld.com/DesktopModules/Blog/Trackback.aspx?id=412</trackback:ping>
    </item>
    <item>
      <title>Toad for Data Analysts for the Toad for Oracle User – Part IV</title>
      <description>&lt;div&gt;As I &lt;a href="http://www.toadworld.com/COMMUNITY/Blogs/tabid/67/EntryID/395/Default.aspx"&gt;promised earlier&lt;/a&gt;, the focus of this blog entry will be using the Editor in Toad for Data Analysts. The Editor is where you can enter your own SQL code to query the database. Since you’re already familiar with Toad for Oracle’s Editor, you’ll notice some similarities in Toad for Data Analysts. Hopefully, these similarities will allow you to begin using the Editor as quickly as possible.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;font size="3"&gt;How do I activate the Editor?&lt;/font&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;We’ll use the menus again for activating the Editor. Simply select &lt;em&gt;Tools | Editor&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;img height="518" alt="" width="750" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_063009-1.gif" /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;You should be aware of a couple of toolbar menus that I have active. One is the Connections toolbar and the other is the Editor toolbar. The Connections toolbar allows me to specify the database connection I’d like to perform the SQL execution against. So, if I’ve connected to multiple data sources, I can choose which one I want to query. The Editor toolbar gives me access to icons to format code, execute SQL, etc. It also allows me to specify the current schema. This is the same current schema selection concept you’ve experienced in Toad for Oracle. To activate these toolbars, right-mouse click to the right of the Help menu to load the toolbar selection interface.&lt;/p&gt;
&lt;p&gt;
&lt;table cellspacing="0" cellpadding="10" border="0"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;img alt="" align="textTop" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_063009-2.gif" /&gt;&lt;/td&gt;
            &lt;td valign="top"&gt;
            &lt;p&gt;Make sure that Connections and Editor are selected. They’ll then be visible as toolbars in Toad for Data Analysts.&lt;/p&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;/p&gt;
&lt;p&gt;I can have multiple Editors active in Toad for Data Analysts. These appear as tabs and I simply continue to load them using the &lt;em&gt;Tools | Editor&lt;/em&gt; menus.&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_063009-3.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;font size="3"&gt;Do I have those shortcut keys and “.”lookups like I did in Toad for Oracle?&lt;/font&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Yes, you certainly do! For a full list of what’s available, load the Help system and type “shortcut” into the Index tab.&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_063009-4.gif" /&gt;&lt;/p&gt;
&lt;p&gt;One thing that is worth mentioning is the object lookup feature. In Toad for Oracle, if I need the details of an object I am working with, in the Editor, I can highlight the object and press the F4 key. This loads the object’s details in a pop-up window. In Toad for Data Analysts, the process is the same, but the details load in a window on the bottom of the Editor screen as opposed to loading in a pop-up window.&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_063009-5.gif" /&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;font size="3"&gt;Do I have Code Snippets?&lt;/font&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Yes, you do! You can load them by selecting the &lt;em&gt;Editor | Code Snippets&lt;/em&gt; menu. These menu selections make the Snippets menu active within Toad for Data Analysts. This menu is a fly-out that you can select and pin once the menu is active.&lt;/p&gt;
&lt;p&gt;
&lt;table cellspacing="0" cellpadding="10" border="0"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_063009-6.gif" /&gt;&lt;/td&gt;
            &lt;td valign="top"&gt;Because Toad for Data Analysts allows you to work with multiple data sources, we have snippets available for various data sources. You can add your own by right-mouse clicking, in the snippets window, and creating your own folders and snippets. In fact, I can load available snippets for the current connection, in the Editor window, by using the “Ctrl+Space Bar” combination on my keyboard. This should be familiar behavior given your Toad for Oracle experience.&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;font size="3"&gt;Can I execute scripts and statements?&lt;/font&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Yes! In fact, the keyboard shortcuts are the same in Toad for Data Analysts and Toad for Oracle! F5 executes scripts and F9 executes statements. You can also use the toolbar icons if you prefer.&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_063009-7.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;When you execute your code, remember to check the bottom portion of the Editor menu for any results sets. This is similar behavior to the Query Builder.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;font size="3"&gt;Can I format my code?&lt;/font&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Yes! Formatting code can be done using the double yellow arrow icon, in the Editor toolbar above, or using the &lt;em&gt;Editor | Format Code&lt;/em&gt; menu. The formatting options are located in the &lt;em&gt;Tools -&gt; Options&lt;/em&gt; menus as shown below:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_063009-8.gif" /&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Hopefully, you’ve become very comfortable understanding and using some of the major features in Toad for Data Analysts. In many cases, Toad for Data Analysts is similar to Toad for Oracle, so you’ve probably had no trouble taking advantage of this great solution from Quest Software. I strongly encourage you to continue to explore the menus within Toad for Data Analysts and take advantage of the numerous features we haven’t discussed. We’ve truly just scratched the surface! Oh, and remember your best friends “F1” and “right-mouse click”. They’ll help you along the way!&lt;/div&gt;</description>
      <link>http://toadworld.com/BLOGS/tabid/67/EntryID/397/Default.aspx</link>
      <author>Ben Boise</author>
      <comments>http://toadworld.com/BLOGS/tabid/67/EntryID/397/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://toadworld.com/Default.aspx?tabid=67&amp;EntryID=397</guid>
      <pubDate>Tue, 30 Jun 2009 07:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://toadworld.com/DesktopModules/Blog/Trackback.aspx?id=397</trackback:ping>
    </item>
    <item>
      <title>Toad for Data Analysts for the Toad for Oracle User – Part III</title>
      <description>&lt;div&gt;
&lt;p&gt;In Part III of this series of blogs, I’ll discuss the Query Builder in Toad for Data Analysts. In my &lt;a href="http://www.toadworld.com/Default.aspx?tabid=67&amp;EntryID=387"&gt;previous entry&lt;/a&gt;, I said that I would talk about both the Editor and the Query Builder in Part III. Both features are so rich that I feel that separating the topics would be the best approach. So, we’ll focus on the Query Builder for this topic. &lt;/p&gt;
&lt;p&gt;As you might have guessed, the Query Builder generates SQL syntax. It’s very similar to Toad for Oracle’s Query Builder, but there are some differences you’ll notice when using the TDA (Toad for Data Analysts) flavor. Let’s get started. &lt;/p&gt;
&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;How do I activate the Query Builder?&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The most direct way is to use the &lt;em&gt;Tools&lt;/em&gt; menu and select &lt;em&gt;Query Builder&lt;/em&gt; from the list. There are other methods available, but we’ll stick to using the menus. The Query Builder is a drag and drop type of interface. In order to drag and drop objects onto the Query Builder, you must use the Object Explorer window. Remember, this window is located in the bottom portion of the Navigation Manager window.   Activate the Navigation Manager by selecting the &lt;em&gt;View -&gt; Navigation Manager&lt;/em&gt; menus.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_0062209-1.gif" /&gt;&lt;/p&gt;
&lt;p&gt;You can drag single objects or multiple objects from the Object Explorer and drop them onto the Query Builder. Use the “Ctrl” key, on your keyboard, to select multiple objects from the Object Explorer. Please note, where referential integrity is defined in the database, the joins between tables will be generated automatically. You can still create your own joins by simply dragging a column from one table to the column of another table. What’s really neat about this approach is the Query Builder allows me to grab tables from different data sources to use in a query. Remember to select the appropriate data source, from the Navigation Manager window, to refresh the Object Explorer’s list of objects. After that, the process is the same. Simply grab the objects from the appropriate data sources and drop them onto the Query Builder. You will need to create your own joins when working with multiple data sources. Depending on the data sources you’re working with, you may see something similar to the below screen shot.&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt; &lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_0062209-2.gif" /&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;If I need to alter the joins that are displayed in the Query Builder, all I have to do is double-click on the join lines. The join lines are highlighted by the red box in the below screenshot.&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_0062209-3.gif" /&gt;&lt;/p&gt;
&lt;p&gt;This loads a window that allows you to make appropriate adjustments to the join syntax.&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt; &lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_0062209-4.gif" /&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Once you have the objects you wish to use in your query and have adjusted any join statements, simply check the box to the left columns you wish to include in your query. You’ll notice the bottom portion of the Query Builder will start to change.&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_0062209-5.gif" /&gt; &lt;/p&gt;
&lt;p&gt;I use the bottom half of the Query Builder to refine my syntax.  It works like a grid. The columns are the columns I’ve selected from the tables and the rows represent different approaches to refining the query. For example, I can create a WHERE condition, on a column, by simply choosing that row for the appropriate column. In this example, we’ll set a WHERE condition on the Balance column. All I have to do is click the Where Condition row in the Balance column.&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_0062209-6.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;If I click the ellipsis, I see the following:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_0062209-7.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;For the WHERE condition, I can choose a very straight-forward approach and use the Form tab to build the condition. The Formula tab, while still a graphical approach, gives me access to much more functionality.&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_0062209-8.gif" /&gt;&lt;/p&gt;
&lt;p&gt;This is like switching to Expert mode in Toad for Oracle’s Query Builder! I’ll create my condition and our grid will update.&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt; &lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_0062209-9.gif" /&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Hopefully, you’ve got the gist of refining your queries using this grid approach. Pay particular attention to working with DATE columns. Toad for Data Analysts gives me the ability to create Date Range hints to save myself the trouble of having to constantly update a query with a proper date range (the last 30 days, for example). Check it out.&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;To see the SQL syntax that’s being generated, you can select the Query tab on the bottom half of the Query Builder.&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_0062209-10.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;The Query Builder window now displays the syntax.&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_0062209-11.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;If I prefer to work in the Editor, I can right-mouse click (your best friend!) and send the syntax to the Editor by selecting the “Open in Editor” option. I’m not tied to a graphical approach if I like to get my hands dirty &lt;img alt="" src="http://toadworld.com/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/images/smiley/msn/regular_smile.gif" /&gt;.&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;To execute your query, go to the &lt;em&gt;Query Builder &lt;/em&gt;menu and select &lt;em&gt;Execute SQL Statement&lt;/em&gt;. You may have noticed a shortcut key listed in this menu. Yes, it’s F9 and it’s the same shortcut key you’re used to in Toad for Oracle.&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Our Query Builder window now displays our results.&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_0062209-12.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Remember, right-click is your friend. If you right-click on your results data grid, you can see additional functionality, including the ability to Export your results to a variety of formats. &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The next topic will cover functionality in the Toad for Data Analysts Editor. I mean it, this time. Have fun!&lt;/div&gt;</description>
      <link>http://toadworld.com/BLOGS/tabid/67/EntryID/395/Default.aspx</link>
      <author>Ben Boise</author>
      <comments>http://toadworld.com/BLOGS/tabid/67/EntryID/395/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://toadworld.com/Default.aspx?tabid=67&amp;EntryID=395</guid>
      <pubDate>Mon, 22 Jun 2009 07:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://toadworld.com/DesktopModules/Blog/Trackback.aspx?id=395</trackback:ping>
    </item>
    <item>
      <title>Toad for Data Analysts for the Toad for Oracle User – Part II</title>
      <description>&lt;div&gt;Previously, we discussed how to establish connections to the database. If you’re interested in a refresher, the entry can be found here: &lt;a href="http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/382/Default.aspx"&gt;&lt;font color="#800080"&gt;http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/382/Default.aspx&lt;/font&gt;&lt;/a&gt; Now that we’ve connected to the database, we’ll examine how to work with the database objects. &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;font size="2"&gt;Where are my objects?&lt;/font&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table cellspacing="0" cellpadding="10" border="0"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;img height="696" alt="" width="237" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_060909-1.gif" /&gt;&lt;/td&gt;
            &lt;td valign="top"&gt;
            &lt;div&gt;The list of objects, for the active database connection, can be found in the Object Explorer tab of the Navigation Manager window. To activate the Navigation Manager window, simply select View | Navigation Manager from the Toad for Data Analysts menus. This will load as a fly-out window that you can then mouse over and pin (this process should be familiar by now). The bottom half of this window contains the Object Explorer tab:&lt;/div&gt;
            &lt;div&gt; &lt;/div&gt;
            &lt;div&gt;
            &lt;p&gt;*Please note that in this screenshot, I also have the Project Manager window open so I have two tabs showing: one for the Object Explorer and one for the Project Manager. You activate the Project Manager window from the View menu.&lt;/p&gt;
            &lt;/div&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_060909-2.gif" /&gt;&lt;/td&gt;
            &lt;td valign="top"&gt;
            &lt;div&gt;
            &lt;p&gt;The Object Explorer contains a list of objects for the active database connection. You’ll notice that I have selected the ORCL (QUEST_DEV) connection in the Navigation Manager, so I’m seeing the objects for that connection. If I switch to my Toad Sample Database Access connection, my Object Explorer updates with the list of objects for that connection.&lt;/p&gt;
            &lt;/div&gt;
            &lt;div&gt;Think of the Object Explorer as the Left Hand Side (LHS) of the Schema Browser in Toad for Oracle.   You still have the right-mouse click functionality available on the objects, just as you do in Toad for Oracle. Simply right-mouse click on the object of interest to view these options.&lt;/div&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
 &lt;/div&gt;
&lt;div&gt;
&lt;p&gt;You can also view the objects grouped in different ways:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_060909-3.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;These are similar groupings to what you have in Toad for Oracle.&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Now that you’ve found the LHS of the Schema Browser’s equivalent in Toad for Data Analysts, what about the Right-Hand Side (RHS)? This is known as the Database Explorer in Toad for Data Analysts. You can activate the Database Explorer by selecting Tools | Database Explorer from the menu.&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_060909-4.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;The combined behavior of the Object Explorer and Database Explorer is very similar to the Schema Browser in Toad for Oracle. When an object is selected from the Object Explorer, the Database Explorer will refresh to display the details of the selected object:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_060909-5.gif" /&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Each of the tabs in the Database Explorer presents different information about the object, just like the tabs on the RHS of Toad for Oracle’s Schema Browser.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Hopefully, you’re now comfortable with locating objects, performing operations on them and discovering their details in Toad for Data Analysts. Next time, I’ll be discussing the Query Builder and the Editor in Toad for Data Analysts.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Have fun!&lt;/div&gt;</description>
      <link>http://toadworld.com/BLOGS/tabid/67/EntryID/387/Default.aspx</link>
      <author>Ben Boise</author>
      <comments>http://toadworld.com/BLOGS/tabid/67/EntryID/387/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://toadworld.com/Default.aspx?tabid=67&amp;EntryID=387</guid>
      <pubDate>Mon, 08 Jun 2009 07:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://toadworld.com/DesktopModules/Blog/Trackback.aspx?id=387</trackback:ping>
    </item>
    <item>
      <title>Toad for Data Analysts for the Toad for Oracle User – Part I</title>
      <description>&lt;div&gt;
&lt;p&gt;In this series of blog topics, I will attempt to translate certain features in &lt;a href="http://toadworld.com/LinkClick.aspx?link=337&amp;tabid=67"&gt;Toad for Data Analysts&lt;/a&gt; for those of you who are more familiar with &lt;a href="http://toadworld.com/LinkClick.aspx?link=215&amp;tabid=67"&gt;Toad for Oracle&lt;/a&gt;. As you may (or may not) know, Quest Software allows licensed owners of Toad for Oracle 9.7 to use Toad for Data Analysts free of charge! Toad for Data Analysts is Quest Software’s cross-database platform Query and Reporting tool. For Developers and DBAs who work predominately in Oracle, but have the need to query and/or report against other database platforms (SQL Server, DB2, and Sybase, just to name a few), then the pairing of Toad for Oracle and Toad for Data Analysts is for you. &lt;/p&gt;
&lt;p&gt;I assume the audience is already familiar with Toad for Oracle. I do not intend to do an in depth feature by feature comparison of Toad for Oracle and Toad for Data Analysts. I’m merely attempting to get you comfortable enough with using Toad for Data Analysts so that you can quickly begin to explore and use this wonderful solution.&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;Two things to remember&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;               &lt;/div&gt;
&lt;div&gt;Your two best friends in Toad for Oracle, right-mouse click and F1, are still your best friends in Toad for Data Analysts. F1 loads the help topic for the window that you have active and as you already know, the help system is wonderfully, well, helpful. Right-mouse click exposes additional functionality all throughout Toad for Data Analysts. So, remember you can still right-mouse click on an object to perform operations on the object and you can right-mouse click in a data grid to export to other formats. These are just a couple of the right-mouse click features so please remember to use this feature within Toad for Data Analysts.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;How do I connect to the database?&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Before you can do anything, you have to establish a connection to the database. Naturally, the first step is showing you how to establish these connections. You can create connections two ways in Toad for Data Analysts. You can select the File | New | Connection menu to begin the process or you can use the Connection Manager. To activate the Connection Manager, select the View | Connection Manager menu. This will activate the Connection Manager which exists as a fly-out menu on the left-hand side of the screen:&lt;/p&gt;
&lt;p&gt;&lt;img height="565" width="242" alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_052809-1.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;ul&gt;
    &lt;li&gt;The red box on the View menu highlights where to activate the Connection Manager. The red box on the lower left side of the screenshot shows where this fly-out menu appears.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;Once the fly-out is active, I can click the push-pin icon to keep the menu visible (just like you would the Object Palette or Code Snippets menus in Toad for Oracle).&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;I then click the plug icon with one star as highlighted by the red box below:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_052809-2.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;ul&gt;
    &lt;li&gt;Please note that your Connection Manager may look different than the one shown above. Clearly, I’ve already created multiple connections.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;p&gt;This brings up the New Connection screen. If I click the Pick a group… drop-down box, I see the following:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_052809-3.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;Toad for Data Analysts allows me to work with multiple database platforms and I can group my connections according to the database platform I need to work with. This makes it easier to organize my connections. Select the database platform you need to connect to and provide the appropriate details for that connection.  The details you need to supply will vary depending upon the platform you’re working with.   You can choose to connect to the database using the details that you’ve provided or simply save the connection information for use at a later date.&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;If I choose to make a connection to the database, the icon for that connection will change. The plug icon will show a green circle with a white arrow inside to indicate that a particular connection is active:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://toadworld.com/Portals/0/blogimages/BenBoise/BB_blog_052809-4.gif" /&gt;&lt;/p&gt;
&lt;p&gt;The red boxes show that I can establish a connection to any database platform within Toad for Data Analysts. In the above screen shot, I’ve connected to an Access data source and an Oracle data source. No more switching between various applications to work with those different database systems.&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;Now that you’ve connected to the database, it’s time to get to work. Stay tuned for the next update where we’ll discuss working with objects.&lt;/div&gt;</description>
      <link>http://toadworld.com/BLOGS/tabid/67/EntryID/382/Default.aspx</link>
      <author>Ben Boise</author>
      <comments>http://toadworld.com/BLOGS/tabid/67/EntryID/382/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://toadworld.com/Default.aspx?tabid=67&amp;EntryID=382</guid>
      <pubDate>Thu, 28 May 2009 07:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://toadworld.com/DesktopModules/Blog/Trackback.aspx?id=382</trackback:ping>
    </item>
  </channel>
</rss>