Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

sys_context terminal = UKNOWN for sql developer only

oraLaroMar 7 2019 — edited Mar 8 2019

select SYS_CONTEXT ( 'USERENV', 'TERMINAL', 20 ) from dual; 

when run from my machine

sqlplus returns my machine name,

TOAD returns my machine name

sql developer returns "unknown"

sql developer version 18

Tried on database versions 12.1.0.2  and 12.2

Theres a known bug with connecting to DB in non interactive mode, but thats in SQL and also Im not using SYS,  application users only but Im thinking SQL developer must be doing something not to pass it in.

Can someone test their current version and see what they get, we have audit triggers on some tables that are missing data due to this as we have some updates from guys using sql developer and we need that terminal info in.  

This post has been answered by oraLaro on Mar 8 2019
Jump to Answer
Comments
Post Details
Added on Mar 7 2019
5 comments
1,137 views