-- --------------------------------------------------
-- Description : Compiles all invalid views for specified schema,or all schema.
-- Call Syntax : @compile_all_views (schema-name or all)
--------------------------------------------------------------
SET PAGESIZE 0
SET FEEDBACK OFF
SET VERIFY OFF
SPOOL temp.sql
SELECT 'ALTER VIEW ' || a.owner || '.' || a.object_name || ' COMPILE;'
FROM all_objects a
WHERE a.object_type = 'VIEW'
AND a.status = 'INVALID'
AND a.owner = Decode(Upper('&&1'), 'ALL',a.owner, Upper('&&1'));
SPOOL OFF
-- Comment out following line to prevent immediate run
@temp.sql
SET PAGESIZE 14
SET FEEDBACK ON
SET VERIFY ON
Compiles all invalid views for specified schema
Subscribe to:
Post Comments (Atom)
ERROR 1396 (HY000): Operation ALTER USER failed for 'Mysql'@'%'
This MySQL error — ERROR 1396 (HY000): Operation ALTER USER failed for 'Mysql'@'%' — means that MySQL cannot find the user ...
-
Key Tables in Oracle Inventory Here is a brief description of the key tables in Oracle Inventory. Table Descriptio...
-
CONCURRENT MANAGER ISSUES IN APPS R12 Status code and Phase code for Concurrent requests Here is what the abbreviation for ...
-
Try To Apply Prepayment To Invoice Receive Error 'APP-SQLAP-10000' [ID 984524.1] Applies to: Oracle Payables - Version: 12....
No comments:
Post a Comment