+ All Categories
Home > Software > Oracle SQL Developer for SQL Server?

Oracle SQL Developer for SQL Server?

Date post: 15-Jul-2015
Category:
Upload: jeff-smith
View: 428 times
Download: 6 times
Share this document with a friend
Popular Tags:
30

Click here to load reader

Transcript
Page 1: Oracle SQL Developer for SQL Server?
Page 2: Oracle SQL Developer for SQL Server?

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Oracle SQL DeveloperTips & Tricks

Jeff [email protected] || @thatjeffsmithSenior Principal Product ManagerDatabase Development Tools Group

Oracle Confidential – Internal/Restricted/Highly Restricted

Page 3: Oracle SQL Developer for SQL Server?

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

Page 4: Oracle SQL Developer for SQL Server?

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)

Page 5: Oracle SQL Developer for SQL Server?

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

SQL Developer Data ModelerIncluded 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

Page 6: Oracle SQL Developer for SQL Server?

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

Page 7: Oracle SQL Developer for SQL Server?

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

Page 8: Oracle SQL Developer for SQL Server?

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

Page 9: Oracle SQL Developer for SQL Server?

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!

Page 10: Oracle SQL Developer for SQL Server?

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

Page 11: Oracle SQL Developer for SQL Server?

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Worksheet: Best for Ad Hoc Queries

Page 12: Oracle SQL Developer for SQL Server?

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

Page 13: Oracle SQL Developer for SQL Server?

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

Page 14: Oracle SQL Developer for SQL Server?

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

Page 15: Oracle SQL Developer for SQL Server?

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Some Things You May Like: Formatting Query Results

Page 16: Oracle SQL Developer for SQL Server?

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Get Data Out…

Page 17: Oracle SQL Developer for SQL Server?

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Queries on Demand

Multi-Level

Exporting

Prompt for Values

Reports

Page 18: Oracle SQL Developer for SQL Server?

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Report Design

Page 19: Oracle SQL Developer for SQL Server?

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Reports: Prompt for Values (use Binds)

Page 20: Oracle SQL Developer for SQL Server?

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

Page 21: Oracle SQL Developer for SQL Server?

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Preferences: Default RDBMS

Page 22: Oracle SQL Developer for SQL Server?

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Design from Scratch or Start with an Existing System?

Page 23: Oracle SQL Developer for SQL Server?

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Identity Columns, Yup!

Page 24: Oracle SQL Developer for SQL Server?

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

SQL Translator

Page 25: Oracle SQL Developer for SQL Server?

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

Page 26: Oracle SQL Developer for SQL Server?

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

Page 27: Oracle SQL Developer for SQL Server?

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

Page 30: Oracle SQL Developer for SQL Server?

Recommended