Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何插入oracle集群表以及如何验证插入这两个表的数据是否正确?
如果我有两张桌子安培和部门。这两个表是集群表,共享相同的数据块。我可以通过简单的插入语句将数据插入到两个表中吗?
我可以通过简单的插入语句将数据插入到两个表中吗?
是的,使用INSERT ALL,例如
INSERT ALL
insert all into emp (empno, ename) values (1, 'Little') into emp (empno, ename) values (2, 'Foot') -- into dept (deptno, dname) values (100, 'IT') select * from dual;