Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 12th, 2004, 04:26 AM
KSB KSB is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 53 KSB User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 h 40 m 7 sec
Reputation Power: 5
Question How to Trace the SQL Statements?

Hi all , I am new to oracle Programming, Can anybody tell me which tool helps us to Trace the SQL Statement that are being executed.

*** I am reffering to the tool which is equivalent to SQL Profiler which is availabe for MS SQL SERVER.*******


Thanks is advance
Sai

Reply With Quote
  #2  
Old October 12th, 2004, 10:56 AM
jim mcnamara jim mcnamara is offline
......@.........
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jun 2004
Posts: 1,308 jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 5 h 20 m 49 sec
Reputation Power: 48
I don't know MS SQL SERVER
Code:
-- turn on 
ALTER SESSION SET SQL_TRACE= TRUE;
-- trun off
ALTER SESSION SET SQL_TRACE= FALSE;

A dump file will be created - where is defined here:
Code:
select value from v$parameter where name='user_dump_dest';


The tkprof utility will format the output into a report for you.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > How to Trace the SQL Statements?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT