Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: immutable LOBs
Volker Apelt wrote:
> DA Morgan <damorgan_at_x.washington.edu> writes:
>
>
>>Volker Apelt wrote: >> >> >>>Oracle 92i Is there any way to mark LOBs as read-only? How do you >>>track changes to LOBs and trigger updates of meta data like MD5 sum? >>>AFAIK, Triggers catch access to rows, but not DBMS_LOB.OPEN >>>or .WRITE. Thanks, >> >>CREATE TABLESPACE ro_data ... >> >>CREATE TABLE lobtab ( >> row data in tbs1, lob data in ro_data >> >>ALTER TABLESPACE ro_data READ ONLY;
In view of the intended workflow my solution would be to create a view that consists of SELECT * FROM ....
Then write an instead of trigger on the view that allows what you want and blocks what you don't want.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace 'x' with 'u' to respond)Received on Fri Jan 07 2005 - 11:20:22 CST