?
Solved

out trace is ba

Posted on 2013-06-12
2
Medium Priority
?
371 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

Accepted Solution

by:
johnsone earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

743 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