Closed chetan2211 closed 1 year ago
Hi @chetan2211, you can have an error free stored procedures migration with Ora2Pg or any other similar tools by using as much possible as standard SQL and compatible statements in your Oracle PL/SQL code, plus the use of the orafce extension in PostgreSQL. Of course this could require rewriting procedures at Oracle side. Choose what you prefer.
Thank you for the quick response @darold. I’ll do it accordingly and will update once it is done.
ora2pg -t PROCEDURE -c procedure_migratrion.dist -o procedure_migratrion.sql -l procedure_migratrion_log.sql
I used above command and generate all procedure sql file for postgres. But when i run that sql files it gives some error which i have to find out manullay and resolve. So is there any other way where i can migrate error free procedure using ora2pg or any other tool.
Thanks in advance.