CREATE USER MIGRATIONREPO IDENTIFIED BY oracle;
ALTER USER MIGRATIONREPO QUOTA UNLIMITED ON USERS;
GRANT CONNECT,RESOURCE,CREATE VIEW ,CREATE MATERIALIZED VIEW to MIGRATIONREPO;

NOTE: Should go smothly, without erros
First we will translate the current mysql to oracle.








As part of the translation process oracle renamed columns with reserved keywords as name, eg: "order" to "order_"
So we need first fix that.
On Converted Database Objects » Columns.
TARGET_COLUMN_NAME like '%!_' escape '!'IMPORTANT COLUMN NAMES MUST BE UPPERCASE

Oracle limits Varchar2 to 4000 characters by default, this can be change but we may not have permissions to do that.
In "Columns" tabs search for:
SOURCE_COLUMN_PRECISION like '8000'
And change column "TARGET_COLUMN_PRECISION" value to 4000
Commit the changes
Once the translation is successful we will start, make some changes




Last we need to unlock the user and reset the passord:
ALTER USER sgiv10_cmvm_test ACCOUNT UNLOCK;
ALTER USER sgiv10_cmvm_test IDENTIFIED BY sgiv10_cmvm_test;
SELECT DISTINCT table_name, column_name FROM all_tab_columns WHERE DATA_TYPE LIKE 'CLOB' and table_name like 'T%';
SOURCE_COLUMN_PRECISION like '8000'
TARGET_COLUMN_NAME like '"NUMBER"'
DECLARE
CURSOR c_product
IS
SELECT DISTINCT
table_name
FROM
all_tables
WHERE
(REGEXP_LIKE(table_name, '^T[[:digit:]]+')
OR table_name IN ('FAILED_JOBS', 'ACTIVITY_LOG', 'MIGRATIONS', 'SYSTEM_DEPLOYMENTS'))
AND OWNER = 'SGIV10_CMVM_TEST'
ORDER BY
table_name ASC;
BEGIN
FOR r_product IN c_product
LOOP
dbms_output.put_line( r_product.table_name );
END LOOP;
END;
Error:
Classic Capture ORA-01950: no privileges on tablespace 'USERS'
Fix:
ALTER USER migrations quota unlimited on users;
List all columns that were modified and ends in _
TARGET_COLUMN_NAME like '%!_' escape '!'
https://docs.oracle.com/cd/B19306_01/server.102/b14237/statviews_2094.htm https://docs.oracle.com/cd/E25259_01/appdev.31/e24285/migration.htm#RPTUG45388