THIS SITE USES COOKIES: By continuing to browse this site, you give your consent for cookies to be used.
For more details, please read our Privacy Policy and Cookies Policy.

Automated and Customizable
Database and Application
Migration and Modernization

Migrate Oracle to SAP HANA

Sap Hana


The database migration tool Ispirer MnMTK can convert Oracle to SAP HANA. You can use our conversion tool for stored procedure migration, function migration, trigger migration, view migration, schema migration. We help understand our clients the value of automated database and application migration solutions that enable business growth.


This demo shows how Ispirer MnMTK can migrate Oracle to SAP HANA:



Oracle to SAP HANA Migration Overview

The tool migrates the following database objects and properties to SAP HANA:

  • Stored Procedures, Functions and Triggers conversion
  • Stored PL/SQL block conversion
  • Stored Packages conversion
  • Functions conversion
  • Tables conversion

We propose you to have a deeper insight at the Oracle to SAP HANA migration features.

Stored Procedures conversion:

  • Basic statements and syntax ( Loops, DML statements, Cursors etc) conversion

Oracle:

  1. CREATE OR REPLACE PROCEDURE cursor_proc1 IS
  2. v_isbn VARCHAR(20);
  3. cnt INTEGER;
  4. CURSOR c_cursor1(v_isbn VARCHAR(20))
  5. IS SELECT book_id FROM books WHERE book_id= v_isbn;
  6. BEGIN
  7. OPEN c_cursor1('123');
  8. FETCH c_cursor1 INTO v_isbn;
  9.  
  10. IF c_cursor1%NOTFOUND THEN
  11. msg_proc('Cursor not found');
  12. ELSIF c_cursor1%ROWCOUNT>1 THEN
  13. cnt := c_cursor1%ROWCOUNT;
  14. END IF;
  15.  
  16. CLOSE c_cursor1;
  17. END;

SAP HANA:

  1. CREATE PROCEDURE cursor_proc1 LANGUAGE SQLSCRIPT
  2. AS
  3. v_isbn VARCHAR(20);
  4. cnt INTEGER;
  5. CURSOR C_CURSOR1(v_isbn VARCHAR(20))
  6. FOR SELECT book_id FROM books WHERE book_id = v_isbn;
  7. BEGIN
  8.  
  9. OPEN C_CURSOR1('123');
  10. FETCH C_CURSOR1 INTO v_isbn;
  11.  
  12. IF C_CURSOR1::NOTFOUND THEN
  13. CALL msg_proc('Cursor not found');
  14. ELSEIF C_CURSOR1::ROWCOUNT > 1 THEN
  15. cnt := C_CURSOR1::ROWCOUNT;
  16. END IF;
  17.  
  18. CLOSE C_CURSOR1;
  19. END;

Stored PL/SQL block conversion:

  • Basic statements and syntax ( Loops, DML statements, Cursors etc) conversion

Oracle:

  1. DECLARE
  2. n1 VARCHAR(30);
  3. n2 INTEGER;
  4. BEGIN
  5. SELECT CHR (67) || CHR (65) || CHR (84)
  6. INTO n1 FROM DUAL;
  7.  
  8. SELECT instr ('length in_str', 'str')
  9. INTO n2 FROM DUAL;
  10. END;

SAP HANA:

  1. CREATE PROCEDURE anonym_block
  2. LANGUAGE SQLSCRIPT
  3. AS
  4. n1 VARCHAR(30);
  5. n2 INTEGER;
  6. BEGIN
  7. SELECT CHAR(67) || CHAR(65) || CHAR(84)
  8. INTO n1 FROM DUMMY;
  9.  
  10. SELECT LOCATE('length in_str','str')
  11. INTO n2 FROM DUMMY;
  12. END;

Stored Function conversion:

  • Basic statements and syntax ( Loops, DML statements, Cursors etc) conversion
  • IN, OUT, INOUT parameters

Oracle:

  1. CREATE OR REPLACE FUNCTION sh1.fn1 (t_data IN TIMESTAMP)
  2. RETURN TIMESTAMP
  3. IS
  4. t_data TIMESTAMP;
  5. BEGIN
  6. SELECT c1 INTO t_data FROM t1;
  7. IF c1 > 0 THEN
  8. RETURN t_data;
  9. END IF;
  10. END;

SAP HANA:

  1. CREATE PROCEDURE sh1.fn1(OUT RETURNVAL TIMESTAMP,IN t_data TIMESTAMP)
  2. LANGUAGE SQLSCRIPT
  3. AS
  4. t_data TIMESTAMP;
  5. BEGIN
  6.  
  7. SELECT c1 INTO t_data FROM t1;
  8. IF c1 > 0 THEN
  9. RETURNVAL := t_data;
  10. END IF;
  11. END;

Stored Packages conversion:

  • Each stored procedure from an Oracle package’ body is converted into a separate stored procedure in SAP HANA
  • Ispirer MnMTK converts package's variables to INOUT variables in the procedure's body
  • Basic statements and syntax conversion

Oracle:

  1. CREATE OR REPLACE PACKAGE PACK1
  2. AS CNT INTEGER ;
  3. PROCEDURE PROC1 (OUTPARM1 OUT VARCHAR(30));
  4. PROCEDURE PROC2 (OUTPARM2 OUT INTEGER);
  5. END PACK1;
  6. /
  7.  
  8. CREATE OR REPLACE PACKAGE BODY PACK1
  9. AS
  10. PROCEDURE PROC1 (OUTPARM1 OUT VARCHAR(30)) AS
  11. BEGIN
  12. SELECT CHR (67) || CHR (65) || CHR (84)
  13. INTO OUTPARM1 FROM DUAL;
  14. END PROC1;
  15.  
  16. PROCEDURE PROC2 (OUTPARM2 OUT INTEGER) IS
  17. BEGIN
  18. SELECT instr ('length in_str', 'str')
  19. INTO OUTPARM2 FROM DUAL;
  20. END PROC2;
  21.  
  22. END PACK1;
  23. /

SAP HANA:

  1. CREATE PROCEDURE PACK1_PROC1
  2. (INOUT CNT INTEGER , OUT OUTPARM1 VARCHAR(30))
  3. LANGUAGE SQLSCRIPT
  4. AS
  5. BEGIN
  6.  
  7. SELECT CHAR(67) || CHAR(65) || CHAR(84)
  8. INTO OUTPARM1 FROM DUMMY;
  9. END;
  10. CREATE PROCEDURE PACK1_PROC2
  11. (INOUT CNT INTEGER , OUT OUTPARM2 INTEGER)
  12. LANGUAGE SQLSCRIPT
  13. AS
  14. BEGIN
  15.  
  16. SELECT LOCATE('length in_str','str')
  17. INTO OUTPARM2 FROM DUMMY;
  18. END;


Ispirer MnMTK Tool Features for Oracle to SAP HANA Migration

  • Quick and Useful Conversion of SQL Scripts - You can easily start converting existing SQL scripts - DDL statements, database SQL dump, SQL queries etc.
  • Conversion with Database Connection - Ispirer MnMTK can connect to Oracle, extract and convert the entire database or just specified objects and schemas
  • Generates SQL scripts in SAP HANA syntax
  • Command Line Support can help you automate the migration process
  • Migration Validation - The tool can compare the number of tables, the number of rows, and perform data validation for all or selected columns (based on primary keys or specified order clause)

Why Ispirer MnMTK for Migrating from Oracle to SAP HANA

Ispirer MnMTK and our support ensure low cost and nearly 100% automation of the entire Oracle to SAP HANA migration.

  • ~100% Automation of All 3 Stages - Consistent and Integrated
    • Stage 1: Database schema/DDL, server-side business logic (PL/SQL stored procedures, packages, triggers etc)
    • Stage 2: Data transfer and validation
    • Stage 3: Front-end application code and SQL queries/scripts
  • Fast Customization - Free fixes within 1-2 business days

  • Pre-Sale Engagement - We demonstrate full conversion during the evaluation before you make a decision. Engagement Process

  • Low Cost - We offer flexible pricing

  • Optimized Conversion - Intelligent and maintainable code, no any Ispirer's middleware used after conversion

Read more about Ispirer MnMTK Key Benefits at Why Ispirer.

If you are looking for a tool to convert Oracle to SAP HANA we are here to provide you with one of the best-in-class migration solutions.

Try the Toolkit

Ispirer MnMTK 2017

Oracle to SAP HANA

Data and SQL SQL Data

Estimate Your Project

Ispirer MnMATK 2017

Oracle to SAP HANA

Download

Purchase the Toolkit

Ispirer MnMTK 2017

Oracle to SAP HANA

Data and SQL SQL Data

Purchase Service

Ispirer Migration Service

Oracle to SAP HANA

Data and SQL SQL Data

You can also reach us via Contacts page.

 
SAP HANA Database

SAP HANA SP08 and earlier

Oracle Databases

Oracle 12с, 11g, 10g, 9i, 8i, 8.0.x, 7.x

Oracle Exadata v2 and v1

Testimonials
November 7, 2014High Availability Systems Co. Ltd., Japan
Informix to Oracle Migration

"We first contacted Ispirer, our long-term migration partner, to discuss the challenging application migration situation we found ourselves in during a project for a...

...

September 1, 2014Continental Tire the Americas, LLC, United States
DB2 to Oracle Migration

"Recently it became necessary to migrate our existing DB2 database into an Oracle environment. Our migration required that all tables, data, triggers and functions...

...

Case Studies
May 27, 2014Oracle to MySQL Migration, India

Our client was a major IT company with corporate headquarters in the United States and India. The company has several Fortune India 500 as well as global clients, and specializes in delivering...

...

January 1, 2013Oracle to PostgreSQL Migration, Japan

In cooperation with our solution partner in Japan, Ispirer executed a short-term migration project for a subsidiary of a grand, reputed Tokyo-based telecommunications company. The subsidiary is...

...

Feedback

We’re successfully tested the tool and we’re interested in buying the licence.

Read more
Industry Events