关于开发与测试所用数据库用户同步的问题
ORACLE816环境下,开发用一个用户A,测试用另外一个用户B,同在一个实例下,针对开发用户A所做的数据库对象修改必须到B用户下重新建立才可以,有没有好的方法让两个用户的数据库对象同步?
谢谢指教!
例如:
当insert到temp_table,立即触发insert into temp_table1事件,数据相同
CREATE OR REPLACE TRIGGER OnlyPositive
BEFORE INSERT
ON temp_table
FOR EACH ROW
declare
com_num number;
BEGIN
insert into temp_table1 values(:new.rol1,:new.rol2);
commit;
END OnlyPositive;
/
update,delete 类似