Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: SQL in constraints II
On Fri, 05 Mar 1999 08:08:15 +0100, GreMa_at_t-online.de (Matthias Gresz)
wrote:
>Not necessarily:
>
>SELECT
> field
>FROM
> TABLE t
>WHERE
> t.rowid != :new.rowid
>;
>
>may do well.
>
I just tried this, and it seems only to work in an insert statement. In an update statement, you still get a mutating table error.
You, of course, know that this constraint can be implemented by:
![]() |
![]() |