On Thu, 12 Aug 2004 19:21:06 -0600, Tim Gorman <tim@(protected) > wrote:
> The hoops to be jumped through to enable FBI are:
>
> 1. COMPATIBLE >= 8.1.0
> 2. OPTIMIZER_MODE < > rule
> 3. QUERY_REWRITE_ENABLED = true
> 4. QUERY REWRITE or GLOBAL QUERY REWRITE permission granted
> 5. CBO statistics gathered on the index
This is version specific and no longer true.
SYS 13-AUG-2004 09:59@(protected) >select grantee from dba_sys_privs
2 where privilege = 'QUERY REWRITE ';
SYS 13-AUG-2004 10:00@(protected) >CONN TACACS@(protected)
Enter password:
ERROR:
ORA-01017 (See ORA-01017.ora-code.com): invalid username/password; logon denied
Warning: You are no longer connected to ORACLE.
13-AUG-2004 10:01@ >CONN TACACS@(protected)
Enter password:
Connected.
TACACS 13-AUG-2004 10:01@(protected) >CREATE TABLE EMP(ENO,ENAME)
2 AS SELECT OBJECT_ID,OBJECT_NAME FROM ALL_OBJECTS;
Table created.
TACACS 13-AUG-2004 10:03@(protected) >CREATE INDEX IDX_UPPER_ENAME
2 ON EMP(UPPER(ENAME));
Predicate Information (identified by operation id):
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
2 - access(UPPER( "EMP ". "ENAME ")= 'SEG$ ')
13 rows selected.
TACACS 13-AUG-2004 10:05@(protected) >
And to show that TACACS is not a DBA -- I 'm not showing you the dba accounts
TACACS 13-AUG-2004 10:08@(protected) >SELECT TABLE_NAME FROM DBA_TABLES;
SELECT TABLE_NAME FROM DBA_TABLES
*
ERROR at line 1:
ORA-00942 (See ORA-00942.ora-code.com): table or view does not exist
This is 9204 std edition. I suspect, but haven 't tested that
compatible has to be set to 9.2 for this to work.
--
Niall Litchfield
Oracle DBA
http://www.niall.litchfield.dial.pipex.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe ' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --