Migration error on script view when changing target
Hello,
Thank you for the integration of "Migration".
Thank you for the integration of Migration.
In step "Manual Edditing", it is really convenient to change the target schema name.
But in the case of query views, the migration script automatically adds references to the source, which causes an error.
For example:
Source MySQL Local on schema = Toga_dev1
CREATE
ALGORITHM = UNDEFINED
DEFINER = `root`@`localhost`
SQL SECURITY DEFINER
VIEW `facture_euro` AS
select
`i`.`idimplantation` AS `idimplantation`,
`m`.`time_by_day_idtime` AS `time_by_day_idtime`,
`m`.`valeur` AS `facture_value`
from
((((((`mesures` `m`
join `implantation` `i` ON ((`m`.`implantation_idImplantation` = `i`.`idimplantation`)));
Target MySQL Server on schema = Toga_dev8
USE `Toga_dev8`;
CREATE OR REPLACE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost`
SQL SECURITY DEFINER VIEW `Toga_dev1`.`facture_euro` AS
select `i`.`idimplantation` AS `idimplantation`,
`m`.`time_by_day_idtime` AS `time_by_day_idtime`,
`m`.`valeur` AS `facture_value`
from
((((((`Toga_dev1`.`mesures` `m`
join `Toga_dev1`.`implantation` `i` on((`m`.`implantation_idImplantation` = `i`.`idimplantation`))) ;
Is there an option or a solution to address this problem ?
Thank You
Subject
Written By
Posted
Migration error on script view when changing target
December 19, 2012 08:18AM
December 20, 2012 11:05PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.