Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tool for translation of Oracle PL/SQL into Postgresql PL/pgSQL [closed]

Is there a tool (preferably free) which will translate Oracle's PL/SQL stored procedure language into Postgresql's PL/pgSQL stored procedure language?

like image 433
dacracot Avatar asked Oct 01 '08 15:10

dacracot


People also ask

Can we use PL SQL in PostgreSQL?

PL/pgSQL is easy to learn and simple to use. PL/pgSQL comes with PostgreSQL by default. The user-defined functions and stored procedures developed in PL/pgSQL can be used like any built-in functions and stored procedures. PL/pgSQL inherits all user-defined types, functions, and operators.

How do I write a PL SQL program in PostgreSQL?

Introduction. PL/pgSQL (Procedural Language/PostgreSQL) is a loadable procedural programming language supported by the PostgreSQL. PL/pgSQL, as a fully featured programming language, allows much more procedural control than SQL, including the ability to use loops and other control structures.

Is PL SQL and PostgreSQL same?

This section explains differences between PostgreSQL's PL/pgSQL language and Oracle's PL/SQL language, to help developers who port applications from Oracle® to PostgreSQL. PL/pgSQL is similar to PL/SQL in many aspects. It is a block-structured, imperative language, and all variables have to be declared.


1 Answers

There is a tool available at http://ora2pg.darold.net/ which can be used to transalate Oracle Schemas to Postgres schemas, but I'm not sure if it will also translate the stored procedures. But it might provide a place to start.

like image 103
Jimoc Avatar answered Oct 27 '22 02:10

Jimoc