Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Can DB tell if connection from odbc?
> Denham Eva wrote:
>
> Hello Gurus
>
> Is there anyway that Oracle 817/Win2K can pick up whether the user is
> connecting via ODBC at all?
No. Concerning your problem about getting the program name, it doesn't seem to belong to the list of what SYS_CONTEXT can return. Write a function as SYS querying V$SESSION (where audsid = userenv('SESSIONID') / SYS_CONTEXT('USERENV', 'SESSIONID')) (which musn't of course run as the owner), create a public synonym on it and GRANT EXECUTE to whom it may concern (directly, if you want to put this into a trigger).
-- Regards, Stephane Faroult Oriole Software -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Stephane Faroult INET: sfaroult_at_oriole.com 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 Mon Sep 02 2002 - 06:08:22 CDT
![]() |
![]() |