Title: RE: get sid (session id) and serial#?

Go ahead, install the package, no problems. It is a better interface to enable/disable trace anyways.

Raj
--------------------------------------------------------------------------------
Rajendra dot Jamadagni at nospamespn dot com
All Views expressed in this email are strictly personal.
QOTD: Any clod can have facts, having an opinion is an art !


-----Original Message-----
From: Murali_Pavuloori/[EMAIL PROTECTED]
[mailto:Murali_Pavuloori/[EMAIL PROTECTED]]
Sent: Friday, August 29, 2003 4:05 PM
To: Multiple recipients of list ORACLE-L
Subject: RE: get sid (session id) and serial#?




Raj,

The comments in dbmssupp.sql suggest that this object needs to be installed
only when requested by Oracle support....I was just curious why our
databases did not have this object... :-).

Thanks ....

Murali.




                                                                                                                                     

                    "Jamadagni,                                                                                                      

                    Rajendra"                 To:     Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>                    

                    <Rajendra.Jamadagni       cc:                                                                                    

                    @espn.com>                Subject:     RE: get sid (session id) and serial#?                                     

                    Sent by:                                                                                                         

                    [EMAIL PROTECTED]                                                                                              

                    om                                                                                                               

                                                                                                                                     

                                                                                                                                     

                    08/29/2003 03:44 PM                                                                                              

                    Please respond to                                                                                                

                    ORACLE-L                                                                                                         

                                                                                                                                     

                                                                                                                                     






[EMAIL PROTECTED]> sys
SQL*Plus: Release 9.2.0.2.0 - Production on Fri Aug 29 14:42:11 2003
Copyright (c) 1982, 2002, Oracle Corporation.� All rights reserved.

14:42:15 SQL> desc dbms_support
FUNCTION MYSID RETURNS NUMBER
FUNCTION PACKAGE_VERSION RETURNS VARCHAR2
PROCEDURE START_TRACE
�Argument Name����������������� Type������������������� In/Out Default?
�------------------------------ ----------------------- ------ --------
�WAITS������������������������� BOOLEAN���������������� IN���� DEFAULT
�BINDS������������������������� BOOLEAN���������������� IN���� DEFAULT
PROCEDURE START_TRACE_IN_SESSION
�Argument Name����������������� Type������������������� In/Out Default?
�------------------------------ ----------------------- ------ --------
�SID��������������������������� NUMBER����������������� IN
�SERIAL������������������������ NUMBER����������������� IN
�WAITS������������������������� BOOLEAN���������������� IN���� DEFAULT
�BINDS������������������������� BOOLEAN���������������� IN���� DEFAULT
PROCEDURE STOP_TRACE
PROCEDURE STOP_TRACE_IN_SESSION
�Argument Name����������������� Type������������������� In/Out Default?
�------------------------------ ----------------------- ------ --------
�SID��������������������������� NUMBER����������������� IN
�SERIAL������������������������ NUMBER����������������� IN

14:42:19 SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.2.0 - 64bit
Production
With the Partitioning, Real Application Clusters, OLAP and Oracle Data
Mining options
JServer Release 9.2.0.2.0 - Production

you probably need to install dbms_support package.
Raj
--------------------------------------------------------------------------------

Rajendra dot Jamadagni at nospamespn dot com
All Views expressed in this email are strictly personal.
QOTD: Any clod can have facts, having an opinion is an art !

-----Original Message-----
[mailto:Murali_Pavuloori/[EMAIL PROTECTED]]
Sent: Friday, August 29, 2003 3:35 PM
To: Multiple recipients of list ORACLE-L



Raj,

Which version of db are you on? This is not available on 9.2.0.3

Murali.



������������������� "Jamadagni,

������������������� Rajendra"���������������� To:���� Multiple recipients
of list ORACLE-L <[EMAIL PROTECTED]>

������������������� <Rajendra.Jamadagni������ cc:

������������������� @ESPN.COM>��������������� Subject:���� RE: get sid
(session id) and serial#?

������������������� Sent by:

������������������� [EMAIL PROTECTED]

������������������� om



������������������� 08/29/2003 10:30 AM

������������������� Please respond to

������������������� ORACLE-L







use the function dbms_support.mysid if it is available on your version.

Raj
--------------------------------------------------------------------------------


Rajendra dot Jamadagni at nospamespn dot com
All Views expressed in this email are strictly personal.
QOTD: Any clod can have facts, having an opinion is an art !

-----Original Message-----
Sent: Friday, August 29, 2003 12:34 AM
To: Multiple recipients of list ORACLE-L

DABs,

� Is there any way in my connection to get the sid and serial# for my own
connection?

Suppose I connect to Oracle db by >sqlplus scott/[EMAIL PROTECTED]
In this connection,

SQL>

What shoud I input to get this sid and serial#?

TIA

Chuan
Important: This transmission is intended only for the use of the addressee
and may contain confidential or legally privileged information.� If you are
not the intended recipient, you are notified that any use or dissemination
of this communication is strictly prohibited.� If you receive this
transmission in error please notify the author immediately by telephone and
delete all copies of this transmission together with any attachments.

--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author:
� INET: [EMAIL PROTECTED]

Fat City Network Services��� -- 858-538-5051 http://www.fatcity.com
San Diego, California������� -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).� You may
also send the HELP command for other information (like subscribing).

(See attached file: ESPN_Disclaimer.txt)

(See attached file: ESPN_Disclaimer.txt)

*********************************************************************This e-mail 
message is confidential, intended only for the named recipient(s) above and may 
contain information that is privileged, attorney work product or exempt from 
disclosure under applicable law. If you have received this message in error, or are 
not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 
and delete this e-mail message from your computer, Thank 
you.*********************************************************************1

Reply via email to