Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1364773
  • 博文数量: 239
  • 博客积分: 5909
  • 博客等级: 大校
  • 技术积分: 2715
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-24 20:19
文章分类

全部博文(239)

文章存档

2014年(4)

2013年(22)

2012年(140)

2011年(14)

2010年(59)

我的朋友

分类: Oracle

2012-10-25 16:38:46


点击(此处)折叠或打开

  1. select
  2. SYS_CONTEXT('USERENV','TERMINAL') terminal,
  3. SYS_CONTEXT('USERENV','LANGUAGE') language,
  4. SYS_CONTEXT('USERENV','SESSIONID') sessionid,
  5. SYS_CONTEXT('USERENV','INSTANCE') instance,
  6. SYS_CONTEXT('USERENV','ENTRYID') entryid,
  7. SYS_CONTEXT('USERENV','ISDBA') isdba,
  8. SYS_CONTEXT('USERENV','NLS_TERRITORY') nls_territory,
  9. SYS_CONTEXT('USERENV','NLS_CURRENCY') nls_currency,
  10. SYS_CONTEXT('USERENV','NLS_CALENDAR') nls_calendar,
  11. SYS_CONTEXT('USERENV','NLS_DATE_FORMAT') nls_date_format,
  12. SYS_CONTEXT('USERENV','NLS_DATE_LANGUAGE') nls_date_language,
  13. SYS_CONTEXT('USERENV','NLS_SORT') nls_sort,
  14. SYS_CONTEXT('USERENV','CURRENT_USER') current_user,
  15. SYS_CONTEXT('USERENV','CURRENT_USERID') current_userid,
  16. SYS_CONTEXT('USERENV','SESSION_USER') session_user,
  17. SYS_CONTEXT('USERENV','SESSION_USERID') session_userid,
  18. SYS_CONTEXT('USERENV','PROXY_USER') proxy_user,
  19. SYS_CONTEXT('USERENV','PROXY_USERID') proxy_userid,
  20. SYS_CONTEXT('USERENV','DB_DOMAIN') db_domain,
  21. SYS_CONTEXT('USERENV','DB_NAME') db_name,
  22. SYS_CONTEXT('USERENV','HOST') host,
  23. SYS_CONTEXT('USERENV','OS_USER') os_user,
  24. SYS_CONTEXT('USERENV','EXTERNAL_NAME') external_name,
  25. SYS_CONTEXT('USERENV','IP_ADDRESS') ip_address,
  26. SYS_CONTEXT('USERENV','NETWORK_PROTOCOL') network_protocol,
  27. SYS_CONTEXT('USERENV','BG_JOB_ID') bg_job_id,
  28. SYS_CONTEXT('USERENV','FG_JOB_ID') fg_job_id,
  29. SYS_CONTEXT('USERENV','AUTHENTICATION_TYPE') authentication_type,
  30. SYS_CONTEXT('USERENV','AUTHENTICATION_DATA') authentication_data
  31. from dual
转自: http://blog.csdn.net/java_idea/article/details/4129913
阅读(6590) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~