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

Thread: Any way to trace a SQL statement from PL/SQL

  1. #1
    Join Date
    Dec 2000
    Posts
    6
    I am trying to trace a statement after passing in parameters. How can I do that with SQL Plus?

    Thanks,
    Kim

  2. #2
    Join Date
    Jan 2001
    Posts
    2
    From a SQL prompt type
    set autotrace on

  3. #3
    Join Date
    Dec 2000
    Posts
    6

    I set Autotrace on and got the following error

    Unable to verify PLAN_TABLE format or existence
    Error enabling EXPLAIN report
    Cannot find the Session Identifier. Check PLUSTRACE role is enabled
    Error enabling STATISTICS report

  4. #4
    Join Date
    Jul 2000
    Posts
    296
    Run script utlxplan.sql, ususaly in directory <ORACLE_HOME>\rdbms\admin.

    From SQL propt type: set autotrace on explain

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