Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Deleting from Vievs
A copy of this was sent to "Michal Piasecki" <michal.piasecki_at_cr-media.com.pl>
(if that email address didn't require changing)
On Wed, 29 Dec 1999 15:26:45 GMT, you wrote:
>Well generally my question is the same as in the subject but
>I tried to find out about deletions from oracle books, and
>there was no statement which said that deleting from is as secure
>as from tables.
>
>So I ask - Can I delete from views as if it was a table?
yes.
if the view queries 1 table -- you need do nothing more then create the view and start deleting from it.
if the view joins or aggregates data -- you will need to code the logic to process the delete. this is done view INSTEAD OF triggers.
>
>I appreciate any help.
>_________________________________________________
>Michal Piasecki
>CR Media
>tel: (+48)(022)690-68-62
>e:mail - michal.piasecki_at_cr-media.com.pl
>
>
>
--
See http://osi.oracle.com/~tkyte/ for my columns 'Digging-in to Oracle8i'...
Current article is "Part I of V, Autonomous Transactions" updated June 21'st
Thomas Kyte tkyte_at_us.oracle.com Oracle Service Industries Reston, VA USA
Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Wed Dec 29 1999 - 10:11:38 CST
![]() |
![]() |