• Like
Oracle SQL Developer - Focus on a Few Features
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Oracle SQL Developer - Focus on a Few Features

  • 1,305 views
Published

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,305
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
15
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • This session reviews PL/SQL debugging, building extensions, and source code control in Oracle SQL Developer. It initially reviews editing and debugging PL/SQL, with particular reference to debugging remote applications. It then shows the participants how to add context menus, navigator displays, and editors to Oracle SQL Developer by use of XML and Java extensions. The final section introduces source code control. Essential to any file-based project, source code control is now integrated into Oracle SQL Developer.

Transcript

  • 1.  
  • 2. Oracle SQL Developer Kris Rice Director - Database Tools Research
  • 3. The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
  • 4. SQL Developer Exchange http://sqldeveloper.oracle.com
  • 5. Agenda
    • SQL Developer Features
    • SQL Developer 1.5 Features
    • Data Modeling
    • Meet a Customer!
    • Working with PL/SQL
    • Creating SQL Developer Extensions
    • Use Source Code Control
    • Summary
    <Insert Picture Here>
  • 6. <Insert Picture Here> “ We've given up all of our licenses for other tools. We simply don't need them anymore. SQL Developer does it all for us. We've saved a lot of money because it's &quot;FREE&quot;! It's also given our development staff a standard tool and they love it! It's made training and support easier. Going to SQL Developer wasn't a management decision. Our developers picked it!” Maggie Tompkins Development Branch Head - Civilian Marine United States Marine Corp
  • 7. SQL Developer Features
    • Creating database connections
    • Creating and browsing objects
    • Querying and updating data
    • Using the SQL Worksheet
    • Running the Query Builder
    • Importing data, exporting data and objects
    • Creating and running PL/SQL
    • Running and defining reports
    • Building extensions
    • Browsing and migration from third-party databases
    • Integrating with Oracle APEX 3.0.1+
    • Integrating with TimesTen
    • Working with files and version control
  • 8. SQL Developer 1.5 Features
    • Database connections
      • OS authentication, Proxy, LDAP
      • Force thick driver usage
      • Group connections in folders
    • Navigator support for
      • Queues, Queue tables
      • Browse and load Java
      • Generating DB documentation
      • Managing the database
    • Schema copy and compare
    • Create new table on XLS import
    • Tuning support
      • Hierarchical Profiler
      • GUI view of trace files
    • SQL Worksheet includes:
      • Updated SQL formatter
      • Code refactoring options
      • Increased code insight
      • Code templates
      • Flashback
    • Extended search
    • Integrated support for versioning and source control systems:
      • CVS and Subversion
    • Migration
      • Sybase Adaptive Server
    • Integrated support for TimesTen
  • 9. Oracle SQL Developer Data Modeling SQL Developer 2.0 (Watch for Preview Release)
    • Oracle SQL Developer Data Modeling supports
      • Designing logical Entity Relation Diagrams (ERD)
      • Building physical schema designs
      • Generating and executing DDL scripts
      • Reverse engineering of existing data structures
      • Import of data models from Erwin and Designer
    • Provides modeling for multiple databases
      • Oracle Database
      • DB2 (Mainframe & UDB)
      • Microsoft SQL Server
    • Support includes
      • Multi-dimensional modeling
      • Multi-level logical and physical design environment
      • Spatial modeling
      • Model validation rules
    • Increases migration productivity
      • Migrate and model using one product
  • 10. <Insert Picture Here> Working with PL/SQL
  • 11. Creating and Running PL/SQL
    • Code editor
      • Syntax highlighting
      • Code formatter
      • Code insight (auto complete)
      • Code folding
      • Query Builder
    • Code snippet viewer
      • Drag and drop code snippets
      • Add and customize snippets
    • Compile, run and debug
      • Inline error reporting
      • Full debug capabilities
    • Code bookmarking
    • Preferences
      • Customizable quick keys
  • 12. Running PL/SQL
    • Run procedures, functions, and packages
      • DBMS_OUTPUT
      • Function return values
      • OUT parameters
    • Run PL/SQL dialog
      • Specifies run targets
      • Shows parameter detail
      • Generates editable PL/SQL block
        • For parameter values
        • For output parameters
        • Works with records
  • 13. Debugging PL/SQL
    • Set breakpoints
      • Configure conditions
    • Compile for Debug
    • Control program execution (Step into, over…)
    • Run to Cursor
    • Inspect and modify variables
    • Review
      • Smart data
      • Data
    • Watches expressions
    • View debug log
  • 14. Remote Debugging
    • Problem : Test a procedure being executed in a separate application
    • SQL Developer
      • Select Remote Debug
      • Set up remote debug detail; machine, port
      • Browse to procedure
      • Set a breakpoint
    • Remote session
      • execute DBMS_DEBUG_JDWP.CONNECT_TCP (‘127.0.0.1’, 4000)
      • Execute procedure
    • SQL Developer
      • Debug
  • 15. Hierarchical Profiler
  • 16. Extended Search
    • Across schemas
    • For object types
    • For usages
    • PLScope support (Oracle Database 11g)
  • 17. <Insert Picture Here> Creating Extensions
  • 18. Extensible Framework
    • Easily extended
      • Based on the JDeveloper IDE
    • Oracle custom extensions:
      • Migration Workbench
      • TimesTen (SQL Developer 1.5)
      • Data Mining (SQL Developer 1.2.1)
      • Rdb (under development)
  • 19. Customer Developed Extensions
    • Users writing their own extensions
      • Insider for Oracle SQL Developer
      • Error lookup for Oracle SQL Developer
      • GIS extension for Oracle SQL Developer
      • OrindaBuild for Oracle SQL Developer
      • Digger for Oracle SQL Developer
  • 20. Adding XML Extensions
    • Create XML
    • Associate Extension type with file location
  • 21. User Defined XML Extensions
    • XML Extensions include:
      • Reports
      • Editors
      • Actions
      • Navigators
  • 22. XML Extension – Adding Extra Tabs
    • <items>
    • <item type=&quot;editor&quot; node=&quot;TableNode&quot; vertical=&quot;true&quot;>
    • <title><![CDATA[SubPartitions]]></title>
    • <query>
    • <sql><![CDATA [Select SUBPARTITION_NAME, HIGH_VALUE from ALL_TAB_SUBPARTITIONS
    • where table_owner = :OBJECT_OWNER and table_name = :OBJECT_NAME]]></sql>
    • </query>
    • </item>
    • </items>
  • 23. SQL Developer SDK on the Wiki
  • 24. Creating Java Based Extensions
    • Install
      • A Java IDE
        • JDeveloper
        • Eclipse
      • SQL Developer
    • In JDeveloper
      • Using Check for Updates, set up the SDK
      • Install SDK Samples
    • Create or open a workspace
      • Create or edit a project
    • Change the deployment profile
    • Deploy
    • Open SQL Developer
    • Run
  • 25. D E M O N S T R A T I O N SQL Developer XML Extensions
  • 26. <Insert Picture Here> Working with source code control
  • 27. File Based Development
    • Explore files in the File navigator
    • Open files in the SQL Worksheet
    • Place files under version control
  • 28. Integrated Version Control Support
    • SQL Developer provides integrated support for versioning and source control systems:
      • CVS (Concurrent Versions System)
      • Subversion
    • Access through the SQL Developer Versioning menu
  • 29. D E M O N S T R A T I O N SQL Developer Version Control
  • 30. Oracle SQL Developer Data Modeling
    • Supports a variety of visual models
      • Entity Relationship (ERD) - supports Barker and Bachman notation (EAR)
      • Relational
      • DataTypes (SQL99)
      • Multi-Dimensional (MD)
      • Data Flow
    • Records details for
      • Physical implementation
      • Business information
      • Domains
    • Imports from various sources including
      • DDL and Dictionary import from Oracle Database
      • Oracle Designer repository
      • DDL and Dictionary import from SQL Server, UDB and DB2
      • General JDBC based dictionary import for non-Oracle databases
      • Other modeling tools
    • Exports to various sources
      • DDL for Oracle and non-Oracle Databases
      • Oracle Analytical Workspaces
      • Multi-Dimensional XMLA format
  • 31. Logical Modeling
    • Model entities, attributes and relations
    • Supports
      • Super type
      • Sub types
    • One logical for many relational and MD models
    • Forward and reverse engineering
  • 32. Relational Modeling
    • Model tables, columns and FK’s
    • One logical for many relational models
    • Forward and reverse engineering
  • 33. Multi-Dimensional Modeling
    • Modeling of Cubes, Dimensions, Levels and Hierarchies, Measures and slices
    • Start from ROLAP, XMLA or from scratch
    • Generate Oracle Analytical Workspaces
  • 34. Physical Modeling
    • One relational model for many physical models
    • Supports
      • Oracle Database 9 i , 10 g and 11 g
      • Microsoft SQL Server
      • IBM UDB and DB2
    • DDL file editor supports
      • Design Rules
      • Object selection
      • Drop objects
      • Table scripts
  • 35. Forward and Reverse Engineering
    • Mapping from one Logical
      • To one or more relational Models
    • Mapping from Relational
      • To one Logical Model
    • Mapping from one Relational
      • To one or more Physical models
    • Mapping from Physical
      • To one Relational Model
    • Options
      • General
      • Compare/copy
      • Synchronization
  • 36. Finding More Detail www.oracle.com/technology/products/database/sql_developer
    • SQL Developer on OTN
      • White papers,Oracle by Example (OBE) and online demos
      • Team Blogs: Blogs, Magazine Articles & Podcasts
      • http://www.oracle.com/technology/products/database/sql_developer
    • SQL Developer Exchange
      • Share reports, snippets, code, and add feature requests
      • http://sqldeveloper.oracle.com
    • Forums
      • SQL Developer http://forums.oracle.com/forums/forum.jspa?forumID=260
      • Migration Workbench http://forums.oracle.com/forums/forum.jspa?forumID=1
    • Migration Sites
      • http://otn.oracle.com/migration
  • 37. Summary
    • Oracle SQL Developer provides support for:
      • Creating database connections
      • Creating and browsing
      • Querying and updating
      • Importing and exporting
      • Using scripts and statements in a worksheet
      • Building queries using a graphical drag and drop interface
      • Building and running database reports
    • Advanced capabilities include
      • PL/SQL editing and debugging
      • Creating SQL Developer extensions
      • Migration from third-party databases to Oracle
      • Support for SQL Tuning
      • Support for TimesTen
  • 38. For More Information http://search.oracle.com SQL Developer or http://www.oracle.com/technology/products/database/sql_developer
  • 39. “ This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
  • 40.