当我执行以下命令:通过dblink插入所有的表格是否可能?
INSERT ALL INTO [email protected]_link(columnName) VALUES (columnValue)
SELECT columnValue FROM localTable;
我得到一个错误
SQL Error: ORA-02021: DDL operations are not allowed on a remote database 02021. 00000 - "DDL operations are not allowed on a remote database" *Cause: An attempt was made to use a DDL operation on a remote database. For example, "CREATE TABLE [email protected] ...". *Action: To alter the remote database structure, you must connect to the remote database with the appropriate privileges.
需要注意的是,当我做一个普通(不是全部插入到)...插入工作过的数据库链接。 (补助金有效)。
这两个表上都没有触发器。
而且我明确需要INSERT ALL INTO来允许插入多个表的能力。
INSERT ALL INTO操作不允许进入数据库链接表吗?
是的...肯定是误导。 – vicsz 2012-01-18 21:53:08