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.
Exported Schema:
CREATE TABLE big_types ( id SERIAL, big_un_c bigint, big_un_z_c bigint ) ;
While the conversion is appropriate for most data types, it does not suffice for int unsigned and bigint unsigned data types. Can we also upscale these data types to use a larger sized integer (or a numeric type in the case of bigint)?
Thanks in advance!
Hi team, When we export a schema containing unsigned integers from MySQL we observe the following: Sample Schema:
CREATE TABLE big_types ( id SERIAL, big_un_c BIGINT UNSIGNED, big_un_z_c BIGINT UNSIGNED ZEROFILL, PRIMARY KEY (id) ) DEFAULT CHARSET=utf8;
ora2pg v23.2 ora2pg -m -c /etc/ora2pg/ora2pg.conf -i big_types.sql -o result.sqlExported Schema:
CREATE TABLE big_types ( id SERIAL, big_un_c bigint, big_un_z_c bigint ) ;
While the conversion is appropriate for most data types, it does not suffice for int unsigned and bigint unsigned data types. Can we also upscale these data types to use a larger sized integer (or a numeric type in the case of bigint)? Thanks in advance!