DBAsupport.com Forums - Powered by vBulletin
Results 1 to 7 of 7

Thread: Set autotrace

Threaded View

  1. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    set autotrace traceonly explain
    Code:
    SQL> select * from xyz;
    
             X Y         Z
    ---------- --------- --------------------
             1 22-OCT-03 foo
    
    SQL> set autotrace traceonly explain
    SQL> select * from xyz
      2  ;
    
    Execution Plan
    ----------------------------------------------------------
       0      SELECT STATEMENT Optimizer=CHOOSE (Cost=1 Card=1 Bytes=34)
       1    0   TABLE ACCESS (FULL) OF 'XYZ' (Cost=1 Card=1 Bytes=34)
    Last edited by marist89; 10-22-2003 at 02:39 PM.
    Jeff Hunter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width