Re: update two oracle tables with single SQL Query?
- From: "Carlos" <miotromailcarlos@xxxxxxxxxxxx>
- Date: 16 Apr 2007 08:21:51 -0700
On 16 abr, 13:17, "sybrandb" <sybra...@xxxxxxxxx> wrote:
On Apr 16, 12:49 pm, "Mahesh" <registered.h...@xxxxxxxxx> wrote:
Hi All
I just need to know is it possibel to update two different tables in a
single SQL Query??
Thanks in advance
Maheshkumar
You can update inline views
update (select empno, ename, deptno, dname
from emp, dept
where emp.deptno = dept.deptno)
set
etc.
--
Sybrand Bakker
Senior Oracle DBA
Sybrand.
Sure you can, but you can only update ONE of the underlying tables at
a time.
(ORA-01776: cannot modify more than one base table through a join
view)
Cheers.
Carlos
.
- References:
- update two oracle tables with single SQL Query?
- From: Mahesh
- Re: update two oracle tables with single SQL Query?
- From: sybrandb
- update two oracle tables with single SQL Query?
- Prev by Date: Re: Help required for system database trigger
- Next by Date: Re: update two oracle tables with single SQL Query?
- Previous by thread: Re: update two oracle tables with single SQL Query?
- Next by thread: Re: update two oracle tables with single SQL Query?
- Index(es):
Relevant Pages
|
Loading