Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> 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 <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:Received on Fri Aug 29 2003 - 15:04:49 CDT
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: INET: Murali_Pavuloori/Claritas_at_claritas.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).
- application/octet-stream attachment: ESPN_Disclaimer.txt
![]() |
![]() |