Solved

out trace is ba

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
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 setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines

746 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

10 Experts available now in Live!

Get 1:1 Help Now