Solved

out trace is ba

Posted on 2013-06-12
2
359 Views
Last Modified: 2013-06-13
SQL> SELECT username, sid, serial#, program FROM v$session WHERE username = 'SYS';

USERNAME                              SID    SERIAL#
------------------------------ ---------- ----------
PROGRAM
------------------------------------------------
SYS                                    17          3
sqlplus@term1.localdomain (TNS V1-V3)



SQL> EXECUTE dbms_system.set_sql_trace_in_session 17,3,true;
BEGIN dbms_system.set_sql_trace_in_session 17,3,true; END;

                                           *
ERROR at line 1:
ORA-06550: line 1, column 44:
PLS-00103: Encountered the symbol "17" when expecting one of the following:
:= . ( @ % ;
The symbol "(" was substituted for "17" to continue.
ORA-06550: line 1, column 53:
PLS-00103: Encountered the symbol ";" when expecting one of the following:
. ( ) , * @ % & = - + < / > at in is mod remainder not rem =>
<an exponent (**)> <> or != or ~= >= <= <> and or like like2
like4 likec between || multise


SQL>
0
Comment
Question by:walkerdba
2 Comments
 
LVL 34

Accepted Solution

by:
johnsone earned 500 total points
ID: 39244191
EXECUTE dbms_system.set_sql_trace_in_session(17,3,true);

Open in new window

0
 

Author Closing Comment

by:walkerdba
ID: 39245873
good sir
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Oracle Finace 3 66
oracle query help 29 77
sql query 9 37
Query to identify changes between rows of two tables 8 37
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now