Oracle SQL Developer for SQL Server?

Jeff Smith
Jeff SmithDistinguished Product Manager at Oracle Corp
Oracle SQL Developer for SQL Server?
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle SQL Developer
Tips & Tricks
Jeff Smith
Jeff.d.smith@oracle.com || @thatjeffsmith
Senior Principal Product Manager
Database Development Tools Group
Oracle Confidential – Internal/Restricted/Highly Restricted
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Improve
application
developers
experience
 Oracle at a SQLSaturday, What’s Up with That?
 Introduction to our free stuff
 SQL Server Support
 A few ‘tricks’ and things you may enjoy
 Questions As We Go!
Agenda What We’re Going to Talk About Today
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle SQL Developer
 FREE Oracle Database IDE/GUI
 Windows, OS X, *NIX
 More than 4,000,000 users worldwide
 Java Application (JDBC)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SQL Developer Data Modeler
Included for free, also available as a separate download/program
Strategy and Analysis
Relational
Database Design
Data Type
Star Schema Physical
Multidimensional
ERD DFD
Logical
Reporting
Import Models
Domains
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
A Quick Word on Java…
 You’ll need a JDK, not just a JRE (not the Java that runs in your browser)
 I recommend Java 8
 Or download SQL Developer that includes the JDK – no install required
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
 SQL Server connectivity in SQL Developer is provided officially for
migration projects
 Copy to Oracle Right Click (single objects, quick ‘n’ dirty)
 T-SQL -> Oracle SQL & PL/SQL Translator
 Wizard driven complete database migrations
 Object Editors are read only
 SQL Worksheet for Ad Hoc Queries/Scripts
 User Defined Reports
SQL Developer & SQL Server In a Nutshell
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Connectivity
 We require the jTDS driver for SQL Server & Sybase ASE
 OS and User/Pass Authentication
 Set default Database
Copy ntlmauth.dll to
your JDK/jre/bin
directory
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Connectivity – Mac?
Open connections.xml file in your SQLDev Install Folder/.sqldeveloper/system* dir
<StringRefAddr addrType="customUrl">
<Contents>jdbc:jtds:sqlserver://Server_FQDN:1433;instance=<instance_name>;
domain=<domain_name>/</Contents>
Thanks +Anthony Ballow for the tip!
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Browser – Click, See Objects
 Immediately browse
objects and see the
data
 Non-Oracle objects
are basic features
only, no
updates/alters
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Worksheet: Best for Ad Hoc Queries
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Worksheet: Hints
 /*sqldev:query*/ if
your expecting a
result set to be
returned
 /*sqldev:stmt*/ if
you are expecting
nothing returned
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
In lieu of clicking through SQL History (F8)
Some Things You May Like: SQL History
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
 Add Comment
 Execute via F5 (Script)
 Comment labels match grid
export formatter labels
 JSON, CSV, Insert, XML…
Some Things You May Like: Formatting Query Results
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Some Things You May Like: Formatting Query Results
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Get Data Out…
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
 Queries on Demand
 Multi-Level
 Exporting
 Prompt for Values
Reports
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Report Design
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Reports: Prompt for Values (use Binds)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
 RE or build from
scratch
 Generate DDL
 Reporting
 Versioning and
Change Control
 ‘Quick Demo’
Data Modeler
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Preferences: Default RDBMS
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Design from Scratch or Start with an Existing System?
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Identity Columns, Yup!
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SQL Translator
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Some Migration Stuff: Copy to Oracle
Quick and Dirty – Copies Base Object and Data Only
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Some Migration Stuff: Formal Migration Projects
 Select Objects
 Converted to Oracle
‘model’
 Refactors & translates
stored procs, views, etc.
 Deployed to ORCL target
 Data is loaded
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
 All Free
 Learn Oracle Database, APEX,
SQL, and more
 12.1.0.2 Enterprise Edition with
all options
 Software pre-installed and
configured
 Demo data & hands on labs
More Free Stuff From Oracle: VirtualBox Images
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Runs on an Oracle Linux Appliance
 VirtualBox
 Appliance
 Instructions
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OTN – SQL Developer
– Forums
– By Example Tutorials
– My Tips & Tricks Blog
Resources
Oracle SQL Developer for SQL Server?
1 of 30

More Related Content

What's hot(20)

Oracle Database OverviewOracle Database Overview
Oracle Database Overview
honglee7140.1K views
Tso and ispfTso and ispf
Tso and ispf
satish0909095.4K views
Oracle ASM TrainingOracle ASM Training
Oracle ASM Training
Vigilant Technologies13K views
DB2 on MainframeDB2 on Mainframe
DB2 on Mainframe
Skillwise Group1.3K views
RACF - The Basics (v1.2)RACF - The Basics (v1.2)
RACF - The Basics (v1.2)
Rui Miguel Feio7.4K views
Oracle Security PresentationOracle Security Presentation
Oracle Security Presentation
Francisco Alvarez2.6K views
Lecture2 oracle pptLecture2 oracle ppt
Lecture2 oracle ppt
Hitesh Kumar Markam4.6K views
mysql 8.0 architecture and enhancementmysql 8.0 architecture and enhancement
mysql 8.0 architecture and enhancement
lalit choudhary300 views
Présentation Oracle DataBase 11gPrésentation Oracle DataBase 11g
Présentation Oracle DataBase 11g
Cynapsys It Hotspot9.1K views
Less07 storageLess07 storage
Less07 storage
Amit Bhalla2.2K views
IBM SMP/EIBM SMP/E
IBM SMP/E
Anderson de Souza1.6K views
Mvs commandsMvs commands
Mvs commands
Maintec Technologies Inc.19.9K views
An Introduction To Oracle DatabaseAn Introduction To Oracle Database
An Introduction To Oracle Database
Meysam Javadi845 views
SQLSQL
SQL
Harshad Umredkar775 views

Viewers also liked(20)

Heli data modeler wildcard2013Heli data modeler wildcard2013
Heli data modeler wildcard2013
Andrejs Vorobjovs2.8K views
Sql server 2008 interview questions answersSql server 2008 interview questions answers
Sql server 2008 interview questions answers
Jitendra Gangwar2.4K views
Data controlData control
Data control
Kyle Hailey3.1K views
Data Modelling is NOT just for RDBMS'sData Modelling is NOT just for RDBMS's
Data Modelling is NOT just for RDBMS's
Christopher Bradley3.8K views

Similar to Oracle SQL Developer for SQL Server?(20)

Oracle SQL Developer for the DBAOracle SQL Developer for the DBA
Oracle SQL Developer for the DBA
Jeff Smith12.8K views
UKOUG UKOUG
UKOUG
Kellyn Pot'Vin-Gorman1.5K views
Database as a Service, Collaborate 2016Database as a Service, Collaborate 2016
Database as a Service, Collaborate 2016
Kellyn Pot'Vin-Gorman432 views
OOW-TBE-12c-CON7307-SharableOOW-TBE-12c-CON7307-Sharable
OOW-TBE-12c-CON7307-Sharable
Obaidur (OB) Rashid260 views
Oracle Database Cloud ServiceOracle Database Cloud Service
Oracle Database Cloud Service
Jean-Philippe PINTE3.3K views
Session 203 iouc summit databaseSession 203 iouc summit database
Session 203 iouc summit database
OUGTH Oracle User Group in Thailand817 views

Recently uploaded(20)

Oracle SQL Developer for SQL Server?

  • 2. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle SQL Developer Tips & Tricks Jeff Smith Jeff.d.smith@oracle.com || @thatjeffsmith Senior Principal Product Manager Database Development Tools Group Oracle Confidential – Internal/Restricted/Highly Restricted
  • 3. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Improve application developers experience  Oracle at a SQLSaturday, What’s Up with That?  Introduction to our free stuff  SQL Server Support  A few ‘tricks’ and things you may enjoy  Questions As We Go! Agenda What We’re Going to Talk About Today
  • 4. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle SQL Developer  FREE Oracle Database IDE/GUI  Windows, OS X, *NIX  More than 4,000,000 users worldwide  Java Application (JDBC)
  • 5. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | SQL Developer Data Modeler Included for free, also available as a separate download/program Strategy and Analysis Relational Database Design Data Type Star Schema Physical Multidimensional ERD DFD Logical Reporting Import Models Domains
  • 6. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | A Quick Word on Java…  You’ll need a JDK, not just a JRE (not the Java that runs in your browser)  I recommend Java 8  Or download SQL Developer that includes the JDK – no install required
  • 7. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |  SQL Server connectivity in SQL Developer is provided officially for migration projects  Copy to Oracle Right Click (single objects, quick ‘n’ dirty)  T-SQL -> Oracle SQL & PL/SQL Translator  Wizard driven complete database migrations  Object Editors are read only  SQL Worksheet for Ad Hoc Queries/Scripts  User Defined Reports SQL Developer & SQL Server In a Nutshell
  • 8. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Connectivity  We require the jTDS driver for SQL Server & Sybase ASE  OS and User/Pass Authentication  Set default Database Copy ntlmauth.dll to your JDK/jre/bin directory
  • 9. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Connectivity – Mac? Open connections.xml file in your SQLDev Install Folder/.sqldeveloper/system* dir <StringRefAddr addrType="customUrl"> <Contents>jdbc:jtds:sqlserver://Server_FQDN:1433;instance=<instance_name>; domain=<domain_name>/</Contents> Thanks +Anthony Ballow for the tip!
  • 10. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Browser – Click, See Objects  Immediately browse objects and see the data  Non-Oracle objects are basic features only, no updates/alters
  • 11. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Worksheet: Best for Ad Hoc Queries
  • 12. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Worksheet: Hints  /*sqldev:query*/ if your expecting a result set to be returned  /*sqldev:stmt*/ if you are expecting nothing returned
  • 13. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | In lieu of clicking through SQL History (F8) Some Things You May Like: SQL History
  • 14. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |  Add Comment  Execute via F5 (Script)  Comment labels match grid export formatter labels  JSON, CSV, Insert, XML… Some Things You May Like: Formatting Query Results
  • 15. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Some Things You May Like: Formatting Query Results
  • 16. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Get Data Out…
  • 17. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |  Queries on Demand  Multi-Level  Exporting  Prompt for Values Reports
  • 18. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Report Design
  • 19. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Reports: Prompt for Values (use Binds)
  • 20. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |  RE or build from scratch  Generate DDL  Reporting  Versioning and Change Control  ‘Quick Demo’ Data Modeler
  • 21. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Preferences: Default RDBMS
  • 22. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Design from Scratch or Start with an Existing System?
  • 23. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Identity Columns, Yup!
  • 24. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | SQL Translator
  • 25. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Some Migration Stuff: Copy to Oracle Quick and Dirty – Copies Base Object and Data Only
  • 26. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Some Migration Stuff: Formal Migration Projects  Select Objects  Converted to Oracle ‘model’  Refactors & translates stored procs, views, etc.  Deployed to ORCL target  Data is loaded
  • 27. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |  All Free  Learn Oracle Database, APEX, SQL, and more  12.1.0.2 Enterprise Edition with all options  Software pre-installed and configured  Demo data & hands on labs More Free Stuff From Oracle: VirtualBox Images
  • 28. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Runs on an Oracle Linux Appliance  VirtualBox  Appliance  Instructions
  • 29. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OTN – SQL Developer – Forums – By Example Tutorials – My Tips & Tricks Blog Resources

Editor's Notes

  1. To customize this slide with your own picture: Right-click the slide area and choose Format Background from the pop-up menu. From the Fill menu, click Picture and texture fill. Under Insert from: click File. Locate your new picture and click Insert. To Replace the LOGO on this sample slide: Right-click the sample LOGO and choose Change Picture. Navigate to the location where the new logo is stored, select desired logo file and click on the Open button to replace the sample logo.