You are here: Example Workflow Scenarios > Create a SQL Statements Query Extract

Reporting Tools

Examples in this section include creating a SQL statements detail extract and creating a database cross-reference list.

Create a Database Cross-Reference List

  1. Launch the Export Wizard for a Database Cross-Reference Extract:
    1. Using the main Wizard:
      1. At the top, left of the main window, in the search bar, click on the   Wizards button. The Wizards dialog will appear.

      2. Click to choose the Extract database objects (tables, stored procedures, views, etc.) used in my reports option.
    2. Using the menu:
      1. From the Find it EZ menu, select  Document -> Business Intelligence -> Database Cross-Reference .
  2. The Database Cross-Reference Document Wizard will appear. See below:

  3. Click on the  Next >>  button to continue.

  4. Click to select the report file locations and optionally select the underlying source databases if you would like to include the SQL Select code from procedures, views or functions used by your reports.
  5. Click on the  Next >>  button to continue. Each of the selected source report location and underlying database configuration panels will appear as in the examples below.

  6. Enter or confirm the pre-configured the file location and underlying database(s) connection information, click the check-boxes to include desired report types and known database objects used by your reports.
  7. Click on the  Next >>  button to continue after each configuration panel is completed. Use the Test Connection button to confirm valid settings where applicable. After the last location is configured, the Export Confirmation dialog will appear.

  8. Choose what columns you would like to export. The default is to include all columns available.
  9. Click on the  Export  button. Find it EZ will begin gathering the required data.

  10. Once complete, a Save As dialog will appear. See example below:

  11. Save the report:
    1. Modify the File name as desired.
    2. Navigate to the desired folder location.
    3. Click on the  Save  button.

    A Save Complete notification will appear, as below:

  12. To view the saved report, click on the  View Now  button. The file will open in the specified viewer / editor. See example below:

    Report data will include the following:

    • Location
    • Type
    • Host
    • File Path
    • Filename
    • Report Section
    • Data Source Type
    • Data Source Name
    • Database
    • Owner
    • Report Table
    • Call Statement
    • Table Links
    • SQL Command
    • SQL Expressions
    • Underlying Database Code - SQL SELECT statement content based on procedures, views or functions referenced when source database configuration included

Extract all embedded SQL queries from within my reports

  1. Launch the Export Wizard for an embedded report SQL Queries extract:
    1. Using the main Wizard:
      1. At the top, left of the main window, in the search bar, click on the  Wizards button. The Wizards dialog will appear.

      2. Click to choose the Extract all SQL code used in my reports option.
    2. Using the menu:
      1. From the Find it EZ menu, select  Document -> Business Intelligence -> Show SQL Queries .

    The Show SQL Queries Document Wizard dialog will appear.

  2. Click on the  Next >>  button to continue.

  3. Click to select all of the report file locations to include.
  4. Click on the  Next >>  button to continue. Each of the selected source report location configuration panels will appear as in the examples below.

  5. Enter or confirm the pre-configured the file location and other connection information, click the check-boxes to include the desired report types to extract embedded SQL queries from.
  6. Click on the  Next >>  button to continue after each configuration panel is completed. Use the Test Connection button to confirm valid settings where applicable. After the last location is configured, the Export Confirmation dialog will appear.

  7. Enter the export options:
    1. Select exported content file type.
    2. All data exported to a single file, or individual files created for each report?
    3. Optionally add a prefix to the file(s) created. Can be useful for separating data from each wizard run stored in the same destination output folder.
  8. Click on the  Export  button. Find it EZ will begin gathering the required data.

  9. Once complete, a Save As dialog will appear when the "single file" option was checked in step 7(b). See example below:

  10. Save the report:
    1. Modify the File name as desired.
    2. Navigate to the desired folder location.
    3. Click on the  Save  button.

    A Save Complete notification will appear, as below:

  11. Or once complete, if individual files are to be created, a Select Folder dialog will appear as below:

  12. Save the report:
    1. Navigate to the desired folder location.
    2. Click on the  Select Folder button.

    The file creation process will begin.

    Note: Each generated file will use the same filename as the source document, along with the target selected file type extension. Sub-folders will be created based on the source file location. A Replace File confirmation alert dialog may appear if a duplicate filename in the target output path already exists, as below:

    Chose the desired action to continue processing.

  13. Upon completion, the target output folder will appear, displaying all generated files as below:

See Also: