on-internet
← Community

How to export particular table schema and data using ora2pg migration?

Stack Overflow ·

I'm using ora2pg migration tool for migrate table schema and data from ORACLE database to Postgres Database. Using the following query, I can export the entire schema and data from the ORACLE database and Import the data into Postgres Database. To export database schema: ./export_schema.sh To export data: ora2pg -t COPY -o data.sql -b ./data -c ./config/ora2pg.conf Import the exported data using this: ./import_all.sh -d MyDB -o postgres(Owner) -U User But I've no idea, how to migrate a particular table schema and data using this. Anybody knows about it, answer.It helps me a lot. Thanks in advi

Comments

Sign in or sign up to comment and upvote.

No comments yet.