Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to LOCK TABLE/READ ONLY table in own schema after data insertion

Re: How to LOCK TABLE/READ ONLY table in own schema after data insertion

From: <sanjeev_atvankar_at_hotmail.com>
Date: 7 Jun 2006 01:58:22 -0700
Message-ID: <1149670702.254420.218810@f6g2000cwb.googlegroups.com>


>>You would need to two things
>>1 set up a table with 'closed out' periods
>>2 create a view on top on the hist table, which will join the hist
>>table and the table you just created, allowing to view only data for
>>'open' periods. The view has to be created 'With check option'
>>3 The inserting program (or no one) doesn't get insert privilege on
>>the table, it only gets insert privilege on the view
>>4 As soon as the insert program gets out of boundaries, the insert
>>will fail.

I have read your solution But sorry to say that it is confusing for me. I am confuse with
 >set up a table with 'closed out' periods (Please clear this point more clearly with example if possible or link)  

WOULD YOU PLEASE MAKE IT MORE ELABORATIVE ? Its urgent. Received on Wed Jun 07 2006 - 03:58:22 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US