Solved

out trace is ba

Posted on 2013-06-12
2
368 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 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Database Design Dilemma 6 71
Procedure syntax 5 64
Oracle TRC and TRM files are taking too much space at Oracle client computer. 5 125
oracle sqlplus query delimiter 8 53
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…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

734 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