How can you enable a trace for a session?

Answers were Sorted based on User's Feedback



How can you enable a trace for a session?..

Answer / guest

to enable trace:

alter session set sql_trace=TRUE

to disable trace:

alter session set sql_trace=FALSE

Is This Answer Correct ?    4 Yes 0 No

How can you enable a trace for a session?..

Answer / anji

to enable the trace in anther session

EXECUTE dbms_support.start_trace_in_session (sid,serial#);

To stop the trace in anther session

EXECUTE dbms_support.start_trace_in_session (sid,serial#);

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Oracle AllOther Interview Questions

How to find locks exists in a table or not?

1 Answers   HCL,


HOW TO SPOT AHIERARCHY?

1 Answers  


How would you go about increasing the buffer cache hit ratio?

1 Answers  


What are the interface tables used for ar invoices, customers, receipts for conversion process? : oracle accounts receivable

1 Answers  


deference between & and &&

2 Answers   Mphasis,


What is the use of lockboxes? : oracle accounts receivable

1 Answers  


How to move the data from one flatfile to multiple staging tables?give me some examples? for example in po interface one flat file is there and multiple staging tables are there how can move it?please give me answer for this question?

1 Answers   Cap Gemini,


i want to know about the javaBean.what is its purpose and how it can use in Forms.

1 Answers   Logisoft,


WHAT ALL DIFFERENT KIND OF FUNCTIONS AVAILABLE WHILE DESIGN UNIVERSES?

1 Answers  


hi iam kavya, i completed Oracle11i(finance module), i do not know how to face the interview questions please adivese me

1 Answers  


Hi, I want to know basic information about Oracle HRMS and the institutes in hyderabad or the best faculty as i want to make my career in it.And also want to know may a person from non technical background be able to do this course. Regards, Swetha

1 Answers  


Differentiate between earned discounts and unearned discounts? : oracle accounts receivable

1 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1803)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)