You are very lenient. I would be inclined to return a predicate like
'WHERE 1=0' because the default should be "NO ACCESS". If the user
doesn't satisfy any criteria for the normal predicate, then he or she
should not be accessing the item protected by the FGAC.

On 10/21/2003 11:39:26 AM, [EMAIL PROTECTED] wrote:
One possibility would be to replicate each of the four source tables,
then
perform the join on the replicated tables.  This will require you to
create
snapshot logs on the source tables.  Obviously, this will slow the
performance of the whatever report is running against the replicated
data
since the join must be done for each query instead of when the data
was
originally replicated.  But the data will remain continuously
available.

-----Original Message-----
Sent: Tuesday, October 21, 2003 2:59 AM
To: Multiple recipients of list ORACLE-L
refresh



Hi Gurus,



I have a materialized view, which is based on Oracle Apps tables and
on
remote database. The view refresh takes around � hour, during this
time
period I cannot see any records in the materialized view and therefore
my
application faces errors.


The following is the view definition



CREATE

MATERIALIZED VIEW CT_PRODUCTID_VW

BUILD IMMEDIATE

REFRESH START WITH SYSDATE

NEXT (SYSDATE + 1)

AS

SELECT

msi.segment1 productid,

msi.description description,

msi.inventory_item_id inventory_item_id,

mc.segment1 product_family,

mc.segment2 product_type

FROM [EMAIL PROTECTED] mcs,

[EMAIL PROTECTED] mc,

[EMAIL PROTECTED] mic,

[EMAIL PROTECTED] msi

where 1=1

and mc.structure_id = 50112

and mc.segment3 != 'SPARE'

and mc.global_name = 'US'

and mc.enabled_flag = 'Y'

and mcs.global_name = mc.global_name

and mcs.category_set_name = 'PROD GROUP'

and mic.category_set_id = mcs.category_set_id

and mic.category_id = mc.category_id

and mic.global_name = mc.global_name

and mic.organization_id = 1

and mic.inventory_item_id = msi.inventory_item_id

and msi.organization_id = mic.organization_id

and msi.global_name = mc.global_name

AND msi.auto_created_config_flag = 'N'

AND   msi.item_type         IN ('ATO MODEL','CONFIG SPARE','CONFIG
SUB','FEATURE PACK','PRODUCT LIST>$0','PTO MODEL','SPARE')

and   msi.inventory_item_status_code IN
('ENABLE-MAJ','ENABLE-NON','ENABLE-OPT','NONORD')



Please note that the tables referenced are remote tables and Oracle
Apps
tables and not logging on it is possible.

Please suggest an appropriate refresh mechanism to see the records
even
during refresh period.



Thanks in advance.



With Warm Regards


_____



Siddharth Haldankar


Zensar Technologies Ltd.

Cisco Systems Inc.

(Offshore Development Center)

# : 091 020 4128394

[EMAIL PROTECTED]

[EMAIL PROTECTED]





Mladen Gogala Oracle DBA



Note:
This message is for the named person's use only.  It may contain confidential, 
proprietary or legally privileged information.  No confidentiality or privilege is 
waived or lost by any mistransmission.  If you receive this message in error, please 
immediately delete it and all copies of it from your system, destroy any hard copies 
of it and notify the sender.  You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to 
monitor all e-mail communications through its networks.
Any views expressed in this message are those of the individual sender, except where 
the message states otherwise and the sender is authorized to state them to be the 
views of any such entity.

--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Mladen Gogala
 INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to