Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Direct Vs. SQL*net
Look at the terminal column of v$process. It's value will be "UNKNOWN" for user sql*net connections and pts/? for those which are not.
Ian MacGregor
Stanford Linear Accelerator Center
ian_at_slac.stanford.edu
-----Original Message-----
Sent: Wednesday, April 18, 2001 11:22 AM
To: Multiple recipients of list ORACLE-L
Charlie,
Now that's a good question. The best answer I can come up with is to check the machine column in V$SESSION. if it matches the server machine name then they should be using the beq protocol, I'd think. Otherwise they must be using SQL*Net. Wonder if anyone else has a suggestion, Hey Jared, your the guru here aren't you?? :-)
Dick Goulet
____________________Reply Separator____________________ Author: "Charlie Mengler" <charliem_at_mwh.com> Date: 4/18/2001 9:50 AM
How can one determine via code (PL/SQL)
whether or not the current session is connected
"directly" (via the Bequeath protocol) or via
SQL*Net?
The solution needs to work for both V7 & V8.
--
Charlie Mengler Maintenance Warehouse charliem_at_mwh.com 10641 Scripps Summit Ct 858-831-2229 San Diego, CA 92131The future is here. It is just not evenly distributed.
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------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).
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------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).
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------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 Wed Apr 18 2001 - 14:41:31 CDT