set echo on

select 
    t.owner, t.created, i.last_ddl_time
from 
    test_objects    t
  , indexed_objects i
where 
    t.object_id = i.object_id 
and t.owner = 'AST'  
and t.object_name like 'T%'
/

@xall


select /*+ LEADING(t,i) USE_NL(i) */
    t.owner, t.created, i.last_ddl_time
from 
    test_objects    t
  , indexed_objects i
where 
    t.object_id = i.object_id 
and t.owner = 'AST'  
and t.object_name like 'T%'
/

@xall


select /*+ LEADING(t,i) USE_NL(i) NO_NLJ_PREFETCH(i) */
    t.owner, t.created, i.last_ddl_time
from 
    test_objects    t
  , indexed_objects i
where 
    t.object_id = i.object_id 
and t.owner = 'AST'  
and t.object_name like 'T%'
/

@xall

select /*+ LEADING(t,i) USE_NL(i) NO_NLJ_BATCHING(i) */
    t.owner, t.created, i.last_ddl_time
from 
    test_objects    t
  , indexed_objects i
where 
    t.object_id = i.object_id 
and t.owner = 'AST'  
and t.object_name like 'T%'
/

@xall

select /*+ LEADING(t,i) USE_NL(i) NO_NLJ_PREFETCH(t) NO_NLJ_PREFETCH(i) NO_NLJ_BATCHING(t) NO_NLJ_BATCHING(i) */
    t.owner, t.created, i.last_ddl_time
from 
    test_objects    t
  , indexed_objects i
where 
    t.object_id = i.object_id 
and t.owner = 'AST'  
and t.object_name like 'T%'
/

@xall

set echo off
