Oracle SQL Developer Reports

6,489 views

Published on

Oracle SQL Developer Product Manager steps you through the ins and outs of creating interactive reports.

In a few clicks plus a little SQL code, you can quickly generate spreadsheets and charts - click through to related records, export to Excel or PDF, and much more.

1 Comment
7 Likes
Statistics
Notes
  • For OBIEE Online Training, Register at http://www.todaycourses.com
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
6,489
On SlideShare
0
From Embeds
0
Number of Embeds
1,432
Actions
Shares
0
Downloads
127
Comments
1
Likes
7
Embeds 0
No embeds

No notes for slide

Oracle SQL Developer Reports

  1. 1. Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  2. 2. Oracle SQL Developer All About Reporting Jeff Smith Senior Principal Product Manager Jeff.d.smith@oracle.com @thatjeffsmith
  3. 3. Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  4. 4. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Oracle SQL Developer Overview  de facto Oracle IDE/GUI  3,500,000+ users worldwide  Windows, OS X, *NIX  Installed with Oracle Database  MOS via DB license
  5. 5. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. SQL Developer Release History  Project Raptor (2005) ~ Oracle SQL Developer v1.0 (2006)  Version 1.5 (2008)  Version 2.1 (2009)  Version 3.0 (2011)  Version 3.1, 3.2 (2012)  Version 4.0 (2013) REPORTS WERE HERE
  6. 6. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. That Panel You Look at But Never Click On?  Routinely ask the same questions, run the same queries?  Everyone, right? Yet only about 15-20% of users take advantage of the reporting feature
  7. 7. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. What is a Report?  1+ queries which back grids, output panels, or charts  Defined & ran via SQLDev  A Parent/Child report – the ‘top’ record drives the ‘bottom’ report(s)
  8. 8. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Basic Report Features  Define report once, run against any connection  Grid output can be sorted, filtered, exported – just like a query  Optionally prompt user for values/binds  Optionally drill down into other reports  Render HTML (basic, 3.0 standard only)  Export to PDF  Also available via Command Line Interface > HTML
  9. 9. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Visual Aids
  10. 10. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Canned Reports  Oracle provided reports  You can’t edit them, but you can copy them to a User Defined Report
  11. 11. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. User Defined Reports  YOU supply the SQL  YOU define how to display the results  Can be saved & shared (XML) More on this later
  12. 12. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Parent/Child - Binds 1. Define Master Report 2. Add Child Report 3. To LINK data from master to child, BIND the data
  13. 13. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Charts, 50+ types to choose from in v4
  14. 14. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Defining Charts and Graphs  Live preview your chart during design time  Provide a connection to supply REAL data  Tell SQLDev what data to feed to the charts
  15. 15. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Prompt User For Inputs  Just like SQL, you can use binds ‘:’ or substitution vars ‘&’, ‘&&’  Once defined in query you can customize prompts in Binds panel
  16. 16. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Report with Prompt(s)
  17. 17. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Drill Down Reports  Call a related report  Avail from Context Menu
  18. 18. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Trick #1: Code Actions Into Your Reports
  19. 19. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Trick #1: Edit the XML – Add Some Code
  20. 20. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Trick #2: Multi-level Reports
  21. 21. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Smarter People Than Me Have Built Some Cool Reports  Share/Get reports on the Exchange  Get this report from @ba6dotus
  22. 22. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Sharing Reports  Save your folder to XML  Make it available  Download/save  Open in SQLDev  Preferences > Third Party Extensions > Reports
  23. 23. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Reports + Command Line Interface = HTML
  24. 24. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. The Tips in Blog Format SQLDev's Best Kept Secret: Reports Multi-Level Reports Adding Custom Actions Child Reports More On Charts Command Line to HTML Reports
  25. 25. Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  26. 26. Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

×