Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: get sid (session id) and serial#?

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

From: Jamadagni, Rajendra <Rajendra.Jamadagni_at_espn.com>
Date: Fri, 29 Aug 2003 12:19:28 -0800
Message-ID: <F001.005CE065.20030829121928@fatcity.com>


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-----
[mailto:Murali_Pavuloori/Claritas_at_claritas.com] Sent: Friday, August 29, 2003 4:05 PM
To: Multiple recipients of list ORACLE-L

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 <ORACLE-L_at_fatcity.com>                     
                    <Rajendra.Jamadagni       cc:

                    @espn.com>                Subject:     RE: get sid

(session id) and serial#?
Sent by: ml-errors_at_fatcity.c om 08/29/2003 03:44 PM Please respond to ORACLE-L

oraclei_at_rhea-NCSSAP1> 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/Claritas_at_claritas.com] 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 <ORACLE-L_at_fatcity.com>
                    <Rajendra.Jamadagni       cc:

                    @ESPN.COM>                Subject:     RE: get sid

(session id) and serial#?
                    Sent by:

                    ml-errors_at_fatcity.c

                    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/tiger_at_test. 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: chuan.zhang_at_customs.gov.au

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: ListGuru_at_fatcity.com (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)

-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jamadagni, Rajendra INET: Rajendra.Jamadagni_at_espn.com 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: ListGuru_at_fatcity.com (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).

Received on Fri Aug 29 2003 - 15:19:28 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US