I need to transform between two different database schema the same data. For example i have one table in old schema looking like this:
OLD EMPLOYEE TABLE
USER_ID - NUMBER (PRIMARY KEY)
FIRST_NAME - VARCHAR(50), (NOT NULL)
LAST_NAME - VARCHAR(50), (NOT NULL)
CITY - VARCHAR(50), (NOT NULL)
and i need to transform it to new tables like these:
NEW EMPLOYEE TABLE
USER_ID - NUMBER (PRIMARY KEY)
FIRST_NAME - VARCHAR(50), (NOT NULL)
LAST_NAME - VARCHAR(50), (NOT NULL)
CITY_ID - NUMBER, (NOT NULL, FOREIGN KEY)
NEW CITY TABLE
CITY_ID - NUMBER (PRIMARY KEY)
CITY_NAME - VARCHAR(50), (NOT NULL)
So I have two questions to ask:
- Does exist software that can migrate data between these two schema (Without or with little usage of SQL)?
- If it exist, can this software migrate even between two platforms (I.e. MSSQL to Oracle)?
Thanks!