Ora2Pg is a free tool used to migrate an Oracle database to a PostgreSQL compatible schema. It connects your Oracle database, scan it automatically and extracts its structure or data, it then generates SQL scripts that you can load into PostgreSQL.
When i am creating procedures which migrated from the Oracle using Ora2pg,i am getting below error.
gdsrm_sdm=# \i /etc/ora2pg/GDSRM_SDM_Migration/Procedures/SDM_MAT_VIEW_REFRESH3_GDSRM_SDM_procedure.sql
SET
psql:/etc/ora2pg/GDSRM_SDM_Migration/Procedures/SDM_MAT_VIEW_REFRESH3_GDSRM_SDM_procedure.sql:24: ERROR: syntax error at or near "DBMS_snapshot"
LINE 3: DBMS_snapshot.REFRESH('MV_DIM_EVENT_ATTRIB');
Is there any alternative way in postgres to convert the DBMS_Snapshot.Refresh or any other approach is there to create the procedures like this.
Hi,
When i am creating procedures which migrated from the Oracle using Ora2pg,i am getting below error.
gdsrm_sdm=# \i /etc/ora2pg/GDSRM_SDM_Migration/Procedures/SDM_MAT_VIEW_REFRESH3_GDSRM_SDM_procedure.sql SET psql:/etc/ora2pg/GDSRM_SDM_Migration/Procedures/SDM_MAT_VIEW_REFRESH3_GDSRM_SDM_procedure.sql:24: ERROR: syntax error at or near "DBMS_snapshot" LINE 3: DBMS_snapshot.REFRESH('MV_DIM_EVENT_ATTRIB');
Is there any alternative way in postgres to convert the DBMS_Snapshot.Refresh or any other approach is there to create the procedures like this.
Thanks and Regards, Kiran.