Migrating Non-Oracle Databases to Oracle

Save this PDF as:
 WORD  PNG  TXT  JPG

Size: px
Start display at page:

Download "Migrating Non-Oracle Databases to Oracle"

Transcription

1

2 Migrating Non-Oracle Databases to Oracle

3 Craig Silveira Principal Sales Consultant North American Strategic Accounts

4 Customers who migrated UBS PaineWebber looking to move off Sybase altogether due to concerns about company. POC showed our capabilities and they are now migrating other applications. Bank of America Credit Risk looking to perform consolidation and replatforming of db systems. POC showed 2X perf gain with no special tuning and on smaller hardware. Bank of America Trade Flow Management wanted to move off Sybase due to strategic direction. Performed migration themselves. Performance better. Now migrating more apps MetLife consolidated a DB2 MF and Sybase db into Oracle. Went live and experiencing better than ever expected performance.

5 Database Architecture Comparison Database Instance Tablespace Tablespace Tablespace System Tablespace Server Database Database Database Master Database

6 RDBMS Implementation Similarities Similar Schema Objects (tables, views) Similar Data types Referential Integrity Check Constraints / Rules Transaction Support Triggers and Stored Sub Programs SQL Access to System Catalogs

7 Oracle Migration Workbench

8 Oracle Migration Workbench Wizard-driven tool Migrates from: MS SQL Server 6.5 and 7.0, 2000 Informix Dynamic Server 7.3, 9.1,9.2,9.3,9.4 Sybase Adaptive Server 11, 12 MS Access 2.0, 95, 97 MySQL on NT and Linux IBM UDB v6, 7.1, 7.2 and DB2/400 Supports database (schema & data) Supports triggers & stored procedures

9 Features Visual representation of the source database and its Oracle equivalent Migration analysis Summary report Contextual log messages

10 Features Multiple databases are consolidated into one database Automatically resolve conflicts Table name collisions Oracle reserved words

11 Features Data migration Default mappings to CLOBs/BLOBs Single table data migration Offline data loading SQL*Loader BCP

12 SYSNAME VARCHAR(30) NOT NULL Schema Conversion Sql Server Oracle TEXT(n) LONG or CLOB IMAGE(n) LONG RAW, BLOB or BFILE BINARY(n) RAW(n) VARBINARY(n) VARCHAR2(n) DATETIME DATE SMALLDATETIME DATE(With Check Constraint) MONEY NUMBER(19,4) SMALLMONEY NUMBER(10,4) TIMESTAMP NUMBER

13 Features Parser Single-object parse Parse options Color-coded editor Temporary tables

14 Conversion Architecture ODBC Connection Oracle Oracle Workbench Repository Sql Server Schema Data Oracle Source DB Utilities Flat File Data Oracle SQL*Loader

15 Migration Process Capture Load the Source Model Create the Oracle Model Customize Modify objects to produce the desired content and structure of your new Oracle database Migrate Migrate to the Oracle database

16 Capture Load the Source Model ODBC/JDBC driver used to extract schema information Schema information loaded into the Workbench Repository No data transferred Create the Oracle Model Data type mappings Parser

17 Customize Source Model customization Modify data type mappings Delete objects Edit text (stored procedures, triggers & views) Edit parse options

18 Customize Oracle Model customization Delete/rename objects Edit creation options Tablespaces Users Tables and indexes Edit text (stored procedures, triggers & views)

19 Migrate Creation of the users and their tables Data migration Through the Migration Workbench JDBC/ODBC Offline data loading BCP/SQL*Loader Creation of remaining schema objects

20 Database Migration Database Migration has the following activities Schema & Data Conversion Application Procedure Conversion Handling special cases which require manual intervention

21 Technical Database Migration Issues Data Access - Differences SQL Differences MS and Oracle have some differences in SQL syntax. Client side will need re-coding if an issue Client-Side Applications Most MS Applications use ODBC so limited changes should be required unless passthrough has been used.

22 Technical Database Migration Issues Utilities - Differences Bulk Loading Sql Server uses BCP which serves as both a bulk loader and a restoration tool. An API can be called from C programs Oracle has SQL*Loader serving as bulk loader. - Use Import/Export for data backup/restoration. - For bulk loading from a C program, use array feature of precompilers or OCI. - SQL*Loader API in Oracle8i and Array Interface.

23 Stored Procedure Migration Issues Manual Tasks

24 Sub Programs Migration Issues Temporary Tables T-SQL Issues Resultsets from Stored Sub Programs Dynamic T-SQL Error Handling SQL Issues DDL/DML Datetime Data type required to millisecond Sybase specific functions

25 Stored Sub Program Migration Issues Temporary Tables Sql Server uses temporary tables for: Query simplification and Result accumulation Oracle does not need temporary tables in most cases The Oracle optimizer can deal with complex queries, so a re-write can avoid a temporary table. Oracle8i provides support for temporary tables

26 Stored Sub Program Migration Issues Resultsets from stored sub programs Sql Server automatically puts resultsets in stream Returns stream of data and Multiple resultsets are possible Oracle provides cursor variables Client receives cv which is a handle to serverside memory resident cursor Can pass cv to other clients or servers

27 Stored Sub Program Migration Issues Dynamic T-SQL Dynamic PL/SQL is supported by Oracle T-SQL Dynamic SQL calls converted to PL/SQL Dynamic SQL calls

28 Stored Sub Program Migration Issues Error handling: propagates errors back to client via global variable: All errors are passed back to the client needs to be checked regularly Oracle has exception handling in PL/SQL to deal with errors automatically: SQL statements are embedded in a PL/SQL block with optional EXCEPTION section Use EXCEPTION to trap exactly the error conditions you wish within Throw/Catch exception model Only un-handled exceptions propagate to higher levels

29 Stored Sub Programs Migration Issues SQL Issues DDL/DML Datetime Datatype required to millisecond MS Sybase-specific functions

30 Stored Sub Program Migration Issues DDL Statements Not allowed in PL/SQL Removed and converted by the workbench Run outside of PL/SQL stored sub program

31 Stored Sub Program Migration Issues DML Statements Update / Delete from Resolved by Workbench Select List Subqueries Partly resolved by Workbench Recode on complex cases

32 Stored Sub Program Migration Issues Datetime Data type required to millisecond Is it really required? Can be simulated by date columns together with a number column and a sequence A trigger could fill the milliseconds field with the sequence values

33 Stored Sub Program Migration Issues Specific Functions Functions such as reverse, case, and more can partly be converted to their counterparts in Oracle Other functions could be coded in PL/SQL, Java (8i) or via C Callouts

34 Reference Material Online Help Additional reference material in the Appendix Oracle Technology Network Reference Guides and FAQ Quick Tour and Online Demo Migration Workbench Helpdesk

35 Converting MAC AGENDA Database conversion Stored Procedure conversion Phase I Phase II Phase III Phase IV Perl conversion

36 PHASE I - Using conversion utility Stored Procedure conversion 103 total stored procedures 16 stored procedures were modified by tool to not include creation of temporary table. The Oracle ddl syntax was moved to another file. 9 stored procedures/functions needed manual conversion 2 stored procedures need to have the Sybase source modified because of a SELECT FOR READ ONLY statement or a UPDATE FROM statement 9 stored procedures were looked over due to the fact that Oracle currently does not support milliseconds

37 PHASE II - Compilation Errors encountered during this phase include: object does not exist: if a stored procedure references a table or stored procedure that doesn t exist, then you get this error resolve by making sure you create the referenced object In MAC, a Sybase function, PATINDEX is used which doesn t exist in Oracle resolved by creating a function with the same name that uses Oracle built in functions to achieve same results only affected one stored procedure

38 PHASE II - Compilation Errors encountered during this phase include: In MAC, a Sybase function, RAND is used which doesn t exist in Oracle resolved by replacing with Oracle package, DBMS_RANDOM. This package has functions that perform same operations as RAND only affected one stored procedure

39 PHASE III - making changes due to Perl requirements 56 stored procedures/functions needed to be modified to exclude references to REF CURSORS change was to comment out code and remove declarations same 56 stored procedures were modified to include a INSERT INTO GLOBAL_RESULTSET table resulted in addition of a loop with the insert statement NOTE: OraPerl does not support REF CURSORS at this time. If this was C/C++, VB or PB, this step would not be necessary

40 PHASE IV - Execution/runtime testing Errors encountered during runtime: The columns usr_uunm_i, usr_uunm_chng_i and usr_grp_mmbrp_i are defined as CHAR in Sybase. When migrated to Oracle, they were created as CHARs in Oracle. This caused problems because of the difference between Oracle CHAR and Sybase CHAR. During the conversion process, it would have been easy to change the CHAR column definition to VARCHAR2 We resolved by changing the column definition afterwards with our ALTER TABLE statement.

41 PHASE IV - Execution/runtime testing Errors encountered during runtime: Return codes in Sybase differ from those in Oracle When no data is returned from a query, Sybase returns a 0. Oracle returns a 100. resolution was easy, when we found where this happened, we just added an IF statement that changed the code from 100 to 0. Only affected 3 stored procedures Sybase and Oracle handle queries that assign values to a variable using a SELECT statement differently

42 PHASE IV - Execution/runtime testing Errors encountered during runtime: In Sybase, if more than one record is returned, it assigns the last value to the variable In Oracle, you get an error To resolve, you need to know what is trying to be accomplished - In one case, the SELECT was only trying to see if a record existed. In this case, Oracle can just append an additional condition : WHERE rownum =1 - In another case, Sybase was actually looking for the last value returned. In this case, we replaced the query with a cursor that retrieved all of the records then pulled out the appropriate data only affect two stored procedures

43 Perl conversion Perl needed to be modified in the following ways: add subroutine to set Oracle environment to user_subs.pl ORACLE_HOME ORACLE_USERID TWO_TASK NLS_DATE_FORMAT use (Oracle) DBI; change way stored procedure/function is called: SybPerl : $sql = exec proc_name(); OraPerl: $sql = begin proc_name(); end;

44 Perl conversion Perl needed to be modified in the following ways cont : change way stored procedure/function is called: SybPerl : $sql = exec proc_name(); OraPerl: $sql = declare x number; begin x := proc_name(); end;

45 Perl conversion Perl needed to be modified in the following ways cont : OraPerl and SybPerl retrieve data from stored procedures very differently Oracle generally uses REF CURSORS to return result sets to a calling application OraPerl currently does not have proven REF CURSOR support Therefore, a workaround was employed.

46 Perl conversion Perl needed to be modified in the following ways cont : The workaround is as follows: Stored procedures that return results sets were modified to insert the results into temporary table The calling perl script was then modified to select the data from the temporary table and display the data in the browser Functions returned a status. This was checked just to see if the operation was successful or not. We took this status and inserted into another temporary table that was queried to see if the function executed successfully or not

47 Perl conversion 37 total perl scripts ONLY 28 needed to be modified 20 were modified to include &set_oracle_env 17 were modified to include correct oracle syntax for executing a stored procedure or function 20 were modified to include the insert into global_status table 7 were modified to have select from global_resultset table

48 Presentation Map Purpose of Pilot Application X Pilot - Oracle Application X Pilot - IBM Application Y Pilot - Oracle Application Y Pilot - IBM Application Y Pilot - Benchmark Results

49 Application X Overview Application X is a front-office system for trading in fixed-income securities Since Application X is a large and complex application, it was not possible to migrate it in its entirety within the limited scope of this project A subset of stored procedures and tables was targeted for conversion/migration Focus was the set of stored procedures which creates a repo ticket in Application X The migration effort included 95 tables, their associated indexes, rules, and defaults 89 stored procedures and 5 triggers 1 Open Server Registered Procedure call

50 Application X - Migration Effort by Oracle Oracle uses a proprietary migration toolkit which: Reads the Sybase database system tables to extract schema information The extracted schema information is stored in a series of flat files These flat files are loaded in an Oracle staging database A set of scripts is run against the staging database to generate the DDL to recreate the tables in Oracle A set of scripts is generated to bcp data out of Sybase An additional set of scripts is generated to load the data into Oracle using Oracle s SQL*Loader utility The tool is capable of extracting rules, defaults, and constraints but not views; views require manual conversion

51 Application X - Migration Effort by Oracle Oracle s toolkit converts almost all datatypes with the exception of: MONEY is converted to NUMBER Oracle s date format is DD-MON-YY Can display different date formats using TO_DATE() or TO_CHAR() Can configure the default date display format in the init.ora file via the nls_date_format = MM/DD/YYYY parameter Sybase s DATETIME and SMALLDATETIME include milliseconds, Oracle s DATE datatype does not Oracle8i will apparently store up to nanoseconds If milliseconds are needed currently, another column must be manually added to the table and mask when loading data via SQL*Loader

52 Items Requiring Resolution During Migration Oracle stored procedures only allow select into All select statements are converted to referential cursors

53 Items Requiring Resolution During Migration Rules and Defaults Oracle does not support rules, and instead follows the ANSI standard for Declarative Constraints Rules are converted to declarative constraints Defaults are converted to declarative defaults An interesting case came up that Oracle was able to handle seamlessly... Several rules in the Application X application were created and subsequently renamed Thus, the object names in Application X..sysobjects differed from the text stored in Application X..syscomments Since Oracle converts rules to constraints, the conversion tool parses out the variable operator constant expression in syscomments and ignores the rule name

54 Items Requiring Resolution During Migration Rules and Defaults, cont d An interesting case came up that Oracle was able to handle seamlessly, cont d Since the conversion tool ignored the rule name, it was able to generate the constraint correctly One Application X table actually had values that violated rules! Oracle s converted constraints successfully rejected those rows when attempting to load the data from a bcp file

55 Items Requiring Resolution During Migration Indexes Oracle requires each Index name be unique Several indexes in Application X had the same name Oracle s toolkit converts the index names to tablename_indexname Oracle does not have a concept of a clustered index Clustered indexes are created as standard Oracle B-Tree indexes T-SQL functions - manual Oracle does not support Sybase s system functions Need to be written as Oracle functions For example, suser_name() can be

56 Items Requiring Resolution During Migration Set rowcount n Oracle does not support the Sybase set rowcount n command Cursors are set up to loop through n iterations Temporary tables - manual Oracle does not have temporary tables, as per Sybase Oracle8i is supposed to introduce temporary tables To resolve this, the migration tool created permanent tables with a column for session id Each user inserts their rows with a unique identifying session id to prevent each other from writing and reading others rows The Session Id was retrieved from the system catalog table V$SESSION

57 Items Requiring Resolution During Migration Identity Columns Oracle s analogous feature to identity columns is Sequence CREATE SEQUENCE empseq INCREMENT BY 1 The sequence value can be retrieved retrieved via SQL SELECT empseq.currval FROM EMPLOYEE; Character Length Mismatch - manual A variable defined as VARCHAR2(15) and inserted to a column defined as CHAR(10) generates an error Column definition needed to be expanded to CHAR(15) ALTER TABLE tab_name MODIFY (col VARCHAR2(15));

58 Application X Migration Oracle s effort can be broken down as follows: 4 people for one week migrating the database and all stored procedures including Sybase T-SQL conversion to Oracle PL/SQL and error handling 1 person for two weeks correcting syntax and debugging the converted stored procedures 2 people for one day to demo the migrated application and ensure that final results were as expected

59 Improving the Application If we were not to do a straight conversion: Leverage PL/SQL more: package specs, record/object-types, Java business logic Introduce asynchronous processing (AQ) Move Perl to Servlet/JSP/XML architecture and separate out presentation layer Look at LDAP, PKI, single sign-on, other directory-related technologies

60 Improving the Process TQM: Maintain conversion metrics, project plans, and other documentation to help others at PaineWebber leverage the MAC conversion experience Open-source: Set-up a common Web-site for other application developers and system/database administrators to access and improve conversion code/scripts

61

Oracle 10g PL/SQL Training

Oracle 10g PL/SQL Training Oracle 10g PL/SQL Training Course Number: ORCL PS01 Length: 3 Day(s) Certification Exam This course will help you prepare for the following exams: 1Z0 042 1Z0 043 Course Overview PL/SQL is Oracle's Procedural

More information

A PRACTITIONER'S GUIDE TO ORACLE TO SYBASE ASE PART 1 PETER DOBLER PRESIDENT DOBLER CONSULTING SEPTEMBER 14 TH 2011

A PRACTITIONER'S GUIDE TO ORACLE TO SYBASE ASE PART 1 PETER DOBLER PRESIDENT DOBLER CONSULTING SEPTEMBER 14 TH 2011 A PRACTITIONER'S GUIDE TO SUCCESSFULLY MIGRATE FROM ORACLE TO SYBASE ASE PART 1 PETER DOBLER PRESIDENT DOBLER CONSULTING SEPTEMBER 14 TH 2011 ABOUT PETER DOBLER Peter Dobleris an accomplished IT database

More information

SQL Databases Course. by Applied Technology Research Center. This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases.

SQL Databases Course. by Applied Technology Research Center. This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases. SQL Databases Course by Applied Technology Research Center. 23 September 2015 This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases. Oracle Topics This Oracle Database: SQL

More information

SQL Server to Oracle A Database Migration Roadmap

SQL Server to Oracle A Database Migration Roadmap SQL Server to Oracle A Database Migration Roadmap Louis Shih Superior Court of California County of Sacramento Oracle OpenWorld 2010 San Francisco, California Agenda Introduction Institutional Background

More information

Oracle Database 12c Enables Quad Graphics to Quickly Migrate from Sybase to Oracle Exadata

Oracle Database 12c Enables Quad Graphics to Quickly Migrate from Sybase to Oracle Exadata Oracle Database 12c Enables Quad Graphics to Quickly Migrate from Sybase to Oracle Exadata Presented with Prakash Nauduri Technical Director Platform Migrations Group, Database Product Management Sep 30,

More information

An Oracle White Paper June 2013. Migrating Applications and Databases with Oracle Database 12c

An Oracle White Paper June 2013. Migrating Applications and Databases with Oracle Database 12c An Oracle White Paper June 2013 Migrating Applications and Databases with Oracle Database 12c Disclaimer The following is intended to outline our general product direction. It is intended for information

More information

Oracle(PL/SQL) Training

Oracle(PL/SQL) Training Oracle(PL/SQL) Training 30 Days Course Description: This course is designed for people who have worked with other relational databases and have knowledge of SQL, another course, called Introduction to

More information

Oracle Database: SQL and PL/SQL Fundamentals NEW

Oracle Database: SQL and PL/SQL Fundamentals NEW Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-97 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals

More information

Oracle to MySQL Migration

Oracle to MySQL Migration to Migration Stored Procedures, Packages, Triggers, Scripts and Applications White Paper March 2009, Ispirer Systems Ltd. Copyright 1999-2012. Ispirer Systems Ltd. All Rights Reserved. 1 Introduction The

More information

Migration to SQL Server With Ispirer SQLWays 6.0

Migration to SQL Server With Ispirer SQLWays 6.0 Migration to SQL Server With Ispirer SQLWays 6.0 About Ispirer Systems Ispirer Systems has been offering solutions for database and application migration since 1999 More than 400 companies worldwide from

More information

Database Programming with PL/SQL: Learning Objectives

Database Programming with PL/SQL: Learning Objectives Database Programming with PL/SQL: Learning Objectives This course covers PL/SQL, a procedural language extension to SQL. Through an innovative project-based approach, students learn procedural logic constructs

More information

ORACLE DATABASE 11G: COMPLETE

ORACLE DATABASE 11G: COMPLETE ORACLE DATABASE 11G: COMPLETE 1. ORACLE DATABASE 11G: SQL FUNDAMENTALS I - SELF-STUDY COURSE a) Using SQL to Query Your Database Using SQL in Oracle Database 11g Retrieving, Restricting and Sorting Data

More information

Oracle Database: Develop PL/SQL Program Units

Oracle Database: Develop PL/SQL Program Units Oracle University Contact Us: 1.800.529.0165 Oracle Database: Develop PL/SQL Program Units Duration: 3 Days What you will learn This Oracle Database: Develop PL/SQL Program Units course is designed for

More information

Oracle Database: SQL and PL/SQL Fundamentals

Oracle Database: SQL and PL/SQL Fundamentals Oracle University Contact Us: +966 12 739 894 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training is designed to

More information

Setting up SQL Translation Framework OBE for Database 12cR1

Setting up SQL Translation Framework OBE for Database 12cR1 Setting up SQL Translation Framework OBE for Database 12cR1 Overview Purpose This tutorial shows you how to use have an environment ready to demo the new Oracle Database 12c feature, SQL Translation Framework,

More information

Migrating Non-Oracle Databases and their Applications to Oracle Database 12c O R A C L E W H I T E P A P E R D E C E M B E R 2 0 1 4

Migrating Non-Oracle Databases and their Applications to Oracle Database 12c O R A C L E W H I T E P A P E R D E C E M B E R 2 0 1 4 Migrating Non-Oracle Databases and their Applications to Oracle Database 12c O R A C L E W H I T E P A P E R D E C E M B E R 2 0 1 4 1. Introduction Oracle provides products that reduce the time, risk,

More information

Oracle Migration Workbench

Oracle Migration Workbench Oracle Migration Workbench Reference Guide for SQL Server and Sybase Adaptive Server Migrations Release 9.2.0 for Microsoft Windows 98/2000/NT and Microsoft Windows XP September 2002 Part Number: B10254-01

More information

AV-004: Administering and Programming with ORACLE

AV-004: Administering and Programming with ORACLE AV-004: Administering and Programming with ORACLE Oracle 11g Duration: 140 hours Introduction: An Oracle database is a collection of data treated as a unit. The purpose of a database is to store and retrieve

More information

Oracle Database: SQL and PL/SQL Fundamentals

Oracle Database: SQL and PL/SQL Fundamentals Oracle University Contact Us: 1.800.529.0165 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This course is designed to deliver the fundamentals of SQL and PL/SQL along

More information

Oracle Database: SQL and PL/SQL Fundamentals NEW

Oracle Database: SQL and PL/SQL Fundamentals NEW Oracle University Contact Us: + 38516306373 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training delivers the

More information

SQL Server. 2012 for developers. murach's TRAINING & REFERENCE. Bryan Syverson. Mike Murach & Associates, Inc. Joel Murach

SQL Server. 2012 for developers. murach's TRAINING & REFERENCE. Bryan Syverson. Mike Murach & Associates, Inc. Joel Murach TRAINING & REFERENCE murach's SQL Server 2012 for developers Bryan Syverson Joel Murach Mike Murach & Associates, Inc. 4340 N. Knoll Ave. Fresno, CA 93722 www.murach.com murachbooks@murach.com Expanded

More information

ORACLE 9I / 10G / 11G / PL/SQL COURSE CONTENT

ORACLE 9I / 10G / 11G / PL/SQL COURSE CONTENT ORACLE 9I / 10G / 11G / PL/SQL COURSE CONTENT INTRODUCTION: Course Objectives I-2 About PL/SQL I-3 PL/SQL Environment I-4 Benefits of PL/SQL I-5 Benefits of Subprograms I-10 Invoking Stored Procedures

More information

Performance Tuning Guidelines for Relational Database Mappings

Performance Tuning Guidelines for Relational Database Mappings Performance Tuning Guidelines for Relational Database Mappings 1993-2016 Informatica LLC. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying,

More information

Oracle Database 10g: Program with PL/SQL

Oracle Database 10g: Program with PL/SQL Oracle University Contact Us: Local: 1800 425 8877 Intl: +91 80 4108 4700 Oracle Database 10g: Program with PL/SQL Duration: 5 Days What you will learn This course introduces students to PL/SQL and helps

More information

Consolidate by Migrating Your Databases to Oracle Database 11g. Fred Louis Enterprise Architect

Consolidate by Migrating Your Databases to Oracle Database 11g. Fred Louis Enterprise Architect Consolidate by Migrating Your Databases to Oracle Database 11g Fred Louis Enterprise Architect Agenda Why migrate to Oracle What is migration? What can you migrate to Oracle? SQL Developer Migration Workbench

More information

Oracle SQL Developer. Supplementary Information for Microsoft SQL Server and Sybase Adaptive Server Migrations Release 3.

Oracle SQL Developer. Supplementary Information for Microsoft SQL Server and Sybase Adaptive Server Migrations Release 3. Oracle SQL Developer Supplementary Information for Microsoft SQL Server and Sybase Adaptive Server Migrations Release 3.0 E18462-03 March 2011 This document contains information for migrating from Microsoft

More information

Instant SQL Programming

Instant SQL Programming Instant SQL Programming Joe Celko Wrox Press Ltd. INSTANT Table of Contents Introduction 1 What Can SQL Do for Me? 2 Who Should Use This Book? 2 How To Use This Book 3 What You Should Know 3 Conventions

More information

Database Implementation: SQL Data Definition Language

Database Implementation: SQL Data Definition Language Database Systems Unit 5 Database Implementation: SQL Data Definition Language Learning Goals In this unit you will learn how to transfer a logical data model into a physical database, how to extend or

More information

<Insert Picture Here> Move to Oracle Database with Oracle SQL Developer Migrations

<Insert Picture Here> Move to Oracle Database with Oracle SQL Developer Migrations Move to Oracle Database with Oracle SQL Developer Migrations The following is intended to outline our general product direction. It is intended for information purposes only, and

More information

news from Tom Bacon about Monday's lecture

news from Tom Bacon about Monday's lecture ECRIC news from Tom Bacon about Monday's lecture I won't be at the lecture on Monday due to the work swamp. The plan is still to try and get into the data centre in two weeks time and do the next migration,

More information

Oracle SQL Developer Migration. An Oracle White Paper September 2008

Oracle SQL Developer Migration. An Oracle White Paper September 2008 Oracle SQL Developer Migration An Oracle White Paper September 2008 Oracle SQL Developer Migration Overview... 3 Introduction... 3 Supported Databases... 4 Architecture... 4 Migration... 4 Standard Migrate...

More information

RETAIN THIS DOCUMENT FOR FUTURE EDUCATIONAL\EMPLOYMENT USE

RETAIN THIS DOCUMENT FOR FUTURE EDUCATIONAL\EMPLOYMENT USE COURSE OUTLINE 1 COMP1215 Total Hours 100 Credits 7 Prerequisite(s) Corequisite(s) Course Description This course teaches students how to create and design, fully functional relational databases using

More information

Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff

Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff D80198GC10 Oracle Database 12c SQL and Fundamentals Summary Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff Level Professional Delivery Method Instructor-led

More information

3.GETTING STARTED WITH ORACLE8i

3.GETTING STARTED WITH ORACLE8i Oracle For Beginners Page : 1 3.GETTING STARTED WITH ORACLE8i Creating a table Datatypes Displaying table definition using DESCRIBE Inserting rows into a table Selecting rows from a table Editing SQL buffer

More information

Oracle Database 12c: Introduction to SQL Ed 1.1

Oracle Database 12c: Introduction to SQL Ed 1.1 Oracle University Contact Us: 1.800.529.0165 Oracle Database 12c: Introduction to SQL Ed 1.1 Duration: 5 Days What you will learn This Oracle Database: Introduction to SQL training helps you write subqueries,

More information

SQL Development Using Oracle

SQL Development Using Oracle SQL Development Using Oracle Course Summary Identify the major structural components of the Oracle Database 11g Create reports of aggregated data Write SELECT statements that include queries Retrieve row

More information

Oracle SQL Developer Migration

Oracle SQL Developer Migration An Oracle White Paper May 2010 Oracle SQL Developer Migration Overview... 3 Introduction... 3 Oracle SQL Developer: Architecture and Supported Platforms... 3 Supported Platforms... 4 Supported Databases...

More information

Data Integration and ETL with Oracle Warehouse Builder: Part 1

Data Integration and ETL with Oracle Warehouse Builder: Part 1 Oracle University Contact Us: + 38516306373 Data Integration and ETL with Oracle Warehouse Builder: Part 1 Duration: 3 Days What you will learn This Data Integration and ETL with Oracle Warehouse Builder:

More information

Database Design and Programming with SQL: Part 2 Learning Objectives

Database Design and Programming with SQL: Part 2 Learning Objectives Database Design and Programming with SQL: Part 2 Learning Objectives This is the second portion of the Database Design and Programming with SQL course. In this portion, students implement their database

More information

<Insert Picture Here> Oracle SQL Developer 3.0: Overview and New Features

<Insert Picture Here> Oracle SQL Developer 3.0: Overview and New Features 1 Oracle SQL Developer 3.0: Overview and New Features Sue Harper Senior Principal Product Manager The following is intended to outline our general product direction. It is intended

More information

SQL Server An Overview

SQL Server An Overview SQL Server An Overview SQL Server Microsoft SQL Server is designed to work effectively in a number of environments: As a two-tier or multi-tier client/server database system As a desktop database system

More information

The release notes provide details of enhancements and features in Cloudera ODBC Driver for Impala 2.5.30, as well as the version history.

The release notes provide details of enhancements and features in Cloudera ODBC Driver for Impala 2.5.30, as well as the version history. Cloudera ODBC Driver for Impala 2.5.30 The release notes provide details of enhancements and features in Cloudera ODBC Driver for Impala 2.5.30, as well as the version history. The following are highlights

More information

Introduction to SQL Tuning. 1. Introduction to SQL Tuning. 2001 SkillBuilders, Inc. SKILLBUILDERS

Introduction to SQL Tuning. 1. Introduction to SQL Tuning. 2001 SkillBuilders, Inc. SKILLBUILDERS Page 1 1. Introduction to SQL Tuning SKILLBUILDERS Page 2 1.2 Objectives Understand what can be tuned Understand what we need to know in order to tune SQL Page 3 1.3 What Can Be Tuned? Data Access SQL

More information

<Insert Picture Here> Oracle SQL Developer 3.0

<Insert Picture Here> Oracle SQL Developer 3.0 1 Oracle SQL Developer 3.0 Sue Harper Senior Principal Product Manager Contents Overview and History Release History New features in SQL Developer 1.5 New features in SQL Developer

More information

Certified PL/SQL Developer VS-1063

Certified PL/SQL Developer VS-1063 VS-1063 Certified PL/SQL Developer Certification Code VS-1063 Vskills PL/SQL Developer certification for Oracle database assesses the candidate for a company s needs for developing PL/SQL based applications

More information

Data Warehouse Center Administration Guide

Data Warehouse Center Administration Guide IBM DB2 Universal Database Data Warehouse Center Administration Guide Version 8 SC27-1123-00 IBM DB2 Universal Database Data Warehouse Center Administration Guide Version 8 SC27-1123-00 Before using this

More information

Chapter 13. Introduction to SQL Programming Techniques. Database Programming: Techniques and Issues. SQL Programming. Database applications

Chapter 13. Introduction to SQL Programming Techniques. Database Programming: Techniques and Issues. SQL Programming. Database applications Chapter 13 SQL Programming Introduction to SQL Programming Techniques Database applications Host language Java, C/C++/C#, COBOL, or some other programming language Data sublanguage SQL SQL standards Continually

More information

Database System Architecture & System Catalog Instructor: Mourad Benchikh Text Books: Elmasri & Navathe Chap. 17 Silberschatz & Korth Chap.

Database System Architecture & System Catalog Instructor: Mourad Benchikh Text Books: Elmasri & Navathe Chap. 17 Silberschatz & Korth Chap. Database System Architecture & System Catalog Instructor: Mourad Benchikh Text Books: Elmasri & Navathe Chap. 17 Silberschatz & Korth Chap. 1 Oracle9i Documentation First-Semester 1427-1428 Definitions

More information

D61830GC30. MySQL for Developers. Summary. Introduction. Prerequisites. At Course completion After completing this course, students will be able to:

D61830GC30. MySQL for Developers. Summary. Introduction. Prerequisites. At Course completion After completing this course, students will be able to: D61830GC30 for Developers Summary Duration Vendor Audience 5 Days Oracle Database Administrators, Developers, Web Administrators Level Technology Professional Oracle 5.6 Delivery Method Instructor-led

More information

DBMS LAB MANUAL PREPARED BY JAGRUTI SAVE

DBMS LAB MANUAL PREPARED BY JAGRUTI SAVE DBMS LAB MANUAL PREPARED BY JAGRUTI SAVE 1 EXPERIMENT NO: 1 AIM: Preparing an ER diagram for given database and Conversion from ER diagram to tables THEORY: Database : A Database is a collection of interrelated

More information

Beginning SQL, Differences Between Oracle and Microsoft

Beginning SQL, Differences Between Oracle and Microsoft Beginning SQL, Differences Between and Microsoft If you're new to SQL or just new to SQL, perhaps coming from a Microsoft environment, it may seem like the two versions should be very similar, and they

More information

Oracle Architecture, Concepts & Facilities

Oracle Architecture, Concepts & Facilities COURSE CODE: COURSE TITLE: CURRENCY: AUDIENCE: ORAACF Oracle Architecture, Concepts & Facilities 10g & 11g Database administrators, system administrators and developers PREREQUISITES: At least 1 year of

More information

4 Logical Design : RDM Schema Definition with SQL / DDL

4 Logical Design : RDM Schema Definition with SQL / DDL 4 Logical Design : RDM Schema Definition with SQL / DDL 4.1 SQL history and standards 4.2 SQL/DDL first steps 4.2.1 Basis Schema Definition using SQL / DDL 4.2.2 SQL Data types, domains, user defined types

More information

Geodatabase Programming with SQL

Geodatabase Programming with SQL DevSummit DC February 11, 2015 Washington, DC Geodatabase Programming with SQL Craig Gillgrass Assumptions Basic knowledge of SQL and relational databases Basic knowledge of the Geodatabase We ll hold

More information

PeopleTools Tables: The Application Repository in the Database

PeopleTools Tables: The Application Repository in the Database PeopleTools Tables: The Application Repository in the Database by David Kurtz, Go-Faster Consultancy Ltd. Since their takeover of PeopleSoft, Oracle has announced project Fusion, an initiative for a new

More information

Oracle SQL Developer for Database Developers. An Oracle White Paper September 2008

Oracle SQL Developer for Database Developers. An Oracle White Paper September 2008 Oracle SQL Developer for Database Developers An Oracle White Paper September 2008 Oracle SQL Developer for Database Developers Introduction...3 Audience...3 Key Benefits...3 Architecture...4 Key Features...4

More information

5. CHANGING STRUCTURE AND DATA

5. CHANGING STRUCTURE AND DATA Oracle For Beginners Page : 1 5. CHANGING STRUCTURE AND DATA Altering the structure of a table Dropping a table Manipulating data Transaction Locking Read Consistency Summary Exercises Altering the structure

More information

Driver for JDBC Implementation Guide

Driver for JDBC Implementation Guide www.novell.com/documentation Driver for JDBC Implementation Guide Identity Manager 4.0.2 January 2014 Legal Notices Novell, Inc. makes no representations or warranties with respect to the contents or use

More information

Oracle SQL Developer for Database Developers. An Oracle White Paper June 2007

Oracle SQL Developer for Database Developers. An Oracle White Paper June 2007 Oracle SQL Developer for Database Developers An Oracle White Paper June 2007 Oracle SQL Developer for Database Developers Introduction...3 Audience...3 Key Benefits...3 Architecture...4 Key Features...4

More information

Oracle Database: Program with PL/SQL

Oracle Database: Program with PL/SQL Oracle University Contact Us: +33 15 7602 081 Oracle Database: Program with PL/SQL Duration: 5 Days What you will learn This course is available in Training On Demand format This Oracle Database: Program

More information

DBMS / Business Intelligence, SQL Server

DBMS / Business Intelligence, SQL Server DBMS / Business Intelligence, SQL Server Orsys, with 30 years of experience, is providing high quality, independant State of the Art seminars and hands-on courses corresponding to the needs of IT professionals.

More information

Oracle Database: Program with PL/SQL

Oracle Database: Program with PL/SQL Oracle Database: Program with PL/SQL Duration: 5 Days What you will learn This Oracle Database: Program with PL/SQL training starts with an introduction to PL/SQL and then explores the benefits of this

More information

The Advantages of PostgreSQL

The Advantages of PostgreSQL The Advantages of PostgreSQL BRUCE MOMJIAN POSTGRESQL offers companies many advantages that can help their businesses thrive. Creative Commons Attribution License http://momjian.us/presentations Last updated:

More information

FileMaker 14. ODBC and JDBC Guide

FileMaker 14. ODBC and JDBC Guide FileMaker 14 ODBC and JDBC Guide 2004 2015 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker and FileMaker Go are trademarks of FileMaker,

More information

5.1 Database Schema. 5.1.1 Schema Generation in SQL

5.1 Database Schema. 5.1.1 Schema Generation in SQL 5.1 Database Schema The database schema is the complete model of the structure of the application domain (here: relational schema): relations names of attributes domains of attributes keys additional constraints

More information

Migration from Oracle Database to SQL Server 2012 FAQ

Migration from Oracle Database to SQL Server 2012 FAQ Migration from Oracle Database to SQL Server 2012 FAQ SQL Server FAQ Article Published: August 2012 Applies to: SQL Server 2012 Summary: Review this FAQ to find answers to common questions about using

More information

Oracle Database: Program with PL/SQL

Oracle Database: Program with PL/SQL Oracle University Contact Us: 1.800.529.0165 Oracle Database: Program with PL/SQL Duration: 5 Days What you will learn View a newer version of this course /a/b/p/p/b/pulli/lili/lili/lili/lili/lili/lili/lili/lili/lili/lili/lili/li/ul/b/p/p/b/p/a/a/p/

More information

Performance Tuning for the JDBC TM API

Performance Tuning for the JDBC TM API Performance Tuning for the JDBC TM API What Works, What Doesn't, and Why. Mark Chamness Sr. Java Engineer Cacheware Beginning Overall Presentation Goal Illustrate techniques for optimizing JDBC API-based

More information

Database Migration from MySQL to RDM Server

Database Migration from MySQL to RDM Server MIGRATION GUIDE Database Migration from MySQL to RDM Server A Birdstep Technology, Inc. Raima Embedded Database Division Migration Guide Published: May, 2009 Author: Daigoro F. Toyama Senior Software Engineer

More information

Oracle9i Data Warehouse Review. Robert F. Edwards Dulcian, Inc.

Oracle9i Data Warehouse Review. Robert F. Edwards Dulcian, Inc. Oracle9i Data Warehouse Review Robert F. Edwards Dulcian, Inc. Agenda Oracle9i Server OLAP Server Analytical SQL Data Mining ETL Warehouse Builder 3i Oracle 9i Server Overview 9i Server = Data Warehouse

More information

Oracle Database 10g: Introduction to SQL

Oracle Database 10g: Introduction to SQL Oracle University Contact Us: 1.800.529.0165 Oracle Database 10g: Introduction to SQL Duration: 5 Days What you will learn This course offers students an introduction to Oracle Database 10g database technology.

More information

MS SQL Performance (Tuning) Best Practices:

MS SQL Performance (Tuning) Best Practices: MS SQL Performance (Tuning) Best Practices: 1. Don t share the SQL server hardware with other services If other workloads are running on the same server where SQL Server is running, memory and other hardware

More information

Oracle8/ SQLJ Programming

Oracle8/ SQLJ Programming Technisch&AJniversitatDarmstadt Fachbeteich IpfcJrrnatik Fachgebiet PrjN^ische Informattk 7 '64283 Dar ORACLE Oracle Press Oracle8/ SQLJ Programming Tecbnischa UniversMt Osr FACHBEREICH INFORMATiK BIBLIOTHEK

More information

Oracle Database 10g Express

Oracle Database 10g Express Oracle Database 10g Express This tutorial prepares the Oracle Database 10g Express Edition Developer to perform common development and administrative tasks of Oracle Database 10g Express Edition. Objectives

More information

Oracle. Brief Course Content This course can be done in modular form as per the detail below. ORA-1 Oracle Database 10g: SQL 4 Weeks 4000/-

Oracle. Brief Course Content This course can be done in modular form as per the detail below. ORA-1 Oracle Database 10g: SQL 4 Weeks 4000/- Oracle Objective: Oracle has many advantages and features that makes it popular and thereby makes it as the world's largest enterprise software company. Oracle is used for almost all large application

More information

SQL - QUICK GUIDE. Allows users to access data in relational database management systems.

SQL - QUICK GUIDE. Allows users to access data in relational database management systems. http://www.tutorialspoint.com/sql/sql-quick-guide.htm SQL - QUICK GUIDE Copyright tutorialspoint.com What is SQL? SQL is Structured Query Language, which is a computer language for storing, manipulating

More information

SOLUTION BRIEF. JUST THE FAQs: Moving Big Data with Bulk Load. www.datadirect.com

SOLUTION BRIEF. JUST THE FAQs: Moving Big Data with Bulk Load. www.datadirect.com SOLUTION BRIEF JUST THE FAQs: Moving Big Data with Bulk Load 2 INTRODUCTION As the data and information used by businesses grow exponentially, IT organizations face a daunting challenge moving what is

More information

1 File Processing Systems

1 File Processing Systems COMP 378 Database Systems Notes for Chapter 1 of Database System Concepts Introduction A database management system (DBMS) is a collection of data and an integrated set of programs that access that data.

More information

Using MySQL for Big Data Advantage Integrate for Insight Sastry Vedantam sastry.vedantam@oracle.com

Using MySQL for Big Data Advantage Integrate for Insight Sastry Vedantam sastry.vedantam@oracle.com Using MySQL for Big Data Advantage Integrate for Insight Sastry Vedantam sastry.vedantam@oracle.com Agenda The rise of Big Data & Hadoop MySQL in the Big Data Lifecycle MySQL Solutions for Big Data Q&A

More information

Conventional Files versus the Database. Files versus Database. Pros and Cons of Conventional Files. Pros and Cons of Databases. Fields (continued)

Conventional Files versus the Database. Files versus Database. Pros and Cons of Conventional Files. Pros and Cons of Databases. Fields (continued) Conventional Files versus the Database Files versus Database File a collection of similar records. Files are unrelated to each other except in the code of an application program. Data storage is built

More information

Oracle Database: Program with PL/SQL

Oracle Database: Program with PL/SQL Oracle University Contact Us: 0845 777 7711 Oracle Database: Program with PL/SQL Duration: 5 Days What you will learn This course starts with an introduction to PL/SQL and proceeds to list the benefits

More information

Relational Databases and SQL: Further Issues

Relational Databases and SQL: Further Issues Chapter 5 Relational Databases and SQL: Further Issues Data Definition Language (DDL): schema generation Data Manipulation Language (DML): queries insertions, deletions, modifications Database behavior?

More information

DBArtisan 8.5 Evaluation Guide. Published: October 2, 2007

DBArtisan 8.5 Evaluation Guide. Published: October 2, 2007 Published: October 2, 2007 Embarcadero Technologies, Inc. 100 California Street, 12th Floor San Francisco, CA 94111 U.S.A. This is a preliminary document and may be changed substantially prior to final

More information

FileMaker 11. ODBC and JDBC Guide

FileMaker 11. ODBC and JDBC Guide FileMaker 11 ODBC and JDBC Guide 2004 2010 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker is a trademark of FileMaker, Inc. registered

More information

Oracle Database: Program with PL/SQL

Oracle Database: Program with PL/SQL Oracle University Contact Us: +381 11 2016811 Oracle Database: Program with PL/SQL Duration: 5 Days What you will learn This course starts with an introduction to PL/SQL and proceeds to list the benefits

More information

HP Quality Center. Upgrade Preparation Guide

HP Quality Center. Upgrade Preparation Guide HP Quality Center Upgrade Preparation Guide Document Release Date: November 2008 Software Release Date: November 2008 Legal Notices Warranty The only warranties for HP products and services are set forth

More information

Oracle Database E12156-01

Oracle Database E12156-01 Oracle Database SQL Developer Supplementary Information for Microsoft SQL Server and Sybase Adaptive Server Migrations Release 1.5 E12156-01 April 2008 This document contains information for migrating

More information

Database Migration : An In Depth look!!

Database Migration : An In Depth look!! Database Migration : An In Depth look!! By Anil Mahadev anilm001@gmail.com As most of you are aware of the fact that just like operating System migrations are taking place, databases are no different.

More information

Topics Advanced PL/SQL, Integration with PROIV SuperLayer and use within Glovia

Topics Advanced PL/SQL, Integration with PROIV SuperLayer and use within Glovia Topics Advanced PL/SQL, Integration with PROIV SuperLayer and use within Glovia 1. SQL Review Single Row Functions Character Functions Date Functions Numeric Function Conversion Functions General Functions

More information

LearnFromGuru Polish your knowledge

LearnFromGuru Polish your knowledge SQL SERVER 2008 R2 /2012 (TSQL/SSIS/ SSRS/ SSAS BI Developer TRAINING) Module: I T-SQL Programming and Database Design An Overview of SQL Server 2008 R2 / 2012 Available Features and Tools New Capabilities

More information

MySQL for Beginners Ed 3

MySQL for Beginners Ed 3 Oracle University Contact Us: 1.800.529.0165 MySQL for Beginners Ed 3 Duration: 4 Days What you will learn The MySQL for Beginners course helps you learn about the world's most popular open source database.

More information

Business Application Services Testing

Business Application Services Testing Business Application Services Testing Curriculum Structure Course name Duration(days) Express 2 Testing Concept and methodologies 3 Introduction to Performance Testing 3 Web Testing 2 QTP 5 SQL 5 Load

More information

Benefits of PL/SQL. Copyright 2007, Oracle. All rights reserved.

Benefits of PL/SQL. Copyright 2007, Oracle. All rights reserved. What Will I Learn? In this lesson, you will learn to: List and explain the benefits of PL/SQL List differences between PL/SQL and other programming languages Give examples of how PL/SQL can be used in

More information

Migrating Critical Business Applications to APEX Successfully

Migrating Critical Business Applications to APEX Successfully Migrating Critical Business Applications to APEX Successfully Karen Cannell kcannell@thtechnology.com TH Technology http://www.thtechnology.com About Me Karen Cannell ~ Consultant, TH Technology Mechanical/SW

More information

Duration Vendor Audience 5 Days Oracle Developers, Technical Consultants, Database Administrators and System Analysts

Duration Vendor Audience 5 Days Oracle Developers, Technical Consultants, Database Administrators and System Analysts D80186GC10 Oracle Database: Program with Summary Duration Vendor Audience 5 Days Oracle Developers, Technical Consultants, Database Administrators and System Analysts Level Professional Technology Oracle

More information

SELECT Company, Country FROM Customers WHERE Country <> 'USA'

SELECT Company, Country FROM Customers WHERE Country <> 'USA' Introduction to SQL SQL is a standard language for accessing databases.our SQL tutorial will teach you how to use SQL to access and manipulate data in:mysql, SQL Server, Access, Oracle, Sybase, DB2, and

More information

Optimizing with Open Source Technology Postgres

Optimizing with Open Source Technology Postgres Optimizing with Open Source Technology Postgres Mark Jones Mark.Jones@enterprisedb.com Sales Engineering, EMEA 2013 EDB All rights reserved 8.1. 1 Providing enterprises with the cost-performance benefits

More information

Optimizing the Performance of the Oracle BI Applications using Oracle Datawarehousing Features and Oracle DAC 10.1.3.4.1

Optimizing the Performance of the Oracle BI Applications using Oracle Datawarehousing Features and Oracle DAC 10.1.3.4.1 Optimizing the Performance of the Oracle BI Applications using Oracle Datawarehousing Features and Oracle DAC 10.1.3.4.1 Mark Rittman, Director, Rittman Mead Consulting for Collaborate 09, Florida, USA,

More information

Top 10 Oracle SQL Developer Tips and Tricks

Top 10 Oracle SQL Developer Tips and Tricks Top 10 Oracle SQL Developer Tips and Tricks December 17, 2013 Marc Sewtz Senior Software Development Manager Oracle Application Express Oracle America Inc., New York, NY The following is intended to outline

More information

10. What SQL command can be used to add columns to a table? a. MODIFY TABLE TableName ADD COLUMN ColumnName b. MODIFY TABLE TableName ADD ColumnName c

10. What SQL command can be used to add columns to a table? a. MODIFY TABLE TableName ADD COLUMN ColumnName b. MODIFY TABLE TableName ADD ColumnName c 1. The first generation of DBMS is represented by systems a. Hierarchical and CODASYL systems. b. Relational model c. Network model 2. Which of the following SQL statements are helpful in database redesign?

More information