| 订阅 | 在线投稿
分享
 
 
当前位置: 王朝网络 >> oracle >> Oracle 9i SYS_CONTEXT han shu de shi yong fang fa
 

Oracle 9i SYS_CONTEXT han shu de shi yong fang fa

2008-07-05 06:43:48 编辑來源:互联网 评论
 
本文为【Oracle 9i SYS_CONTEXT函数的使用方法】的拼音翻译版
  ci han shu zai xie yi xie chu fa qi he han shu de shi hou fei chang you yong chu 。
  yong fa :
  SELECT sys_context('USERENV', '') FROM dual;
  di er ge shen shu de ke xuan zhi :
  AUTHENTICATION_DATA
  Data being used to authenticate the login user. For X.503 certificate authenticated sessions, this field returns the context of the certificate in HEX2 format.
  Note: You can change the return value of the AUTHENTICATION_DATA attribute using the length parameter of the syntax. Values of up to 4000 are accepted. This is the only attribute of USERENV for which Oracle implements such a change.
  AUTHENTICATION_TYPE
  How the user was authenticated:
  DATABASE: username/password authentication
  OS: operating system external user authentication
  NETWORK: network protocol or ANO authentication
  PROXY: OCI proxy connection authentication
  BG_JOB_ID
  Job ID of the current session if it was established by an Oracle background process. Null if the session was not established by a background process.
  CLIENT_INFO
  Returns up to 64 bytes of user session information that can be stored by an application using the DBMS_APPLICATION_INFO package.
  CURRENT_SCHEMA
  Name of the default schema being used in the current schema. This value can be changed during the session with an ALTER SESSION SET CURRENT_SCHEMA statement.
  CURRENT_SCHEMAID
  Identifier of the default schema being used in the current session.
  CURRENT_USER
  The name of the user whose privilege the current session is under.
  CURRENT_USERID
  User ID of the user whose privilege the current session is under.
  DB_DOMAIN
  Domain of the database as specified in the DB_DOMAIN initialization parameter.
  DB_NAME
  Name of the database as specified in the DB_NAME initialization parameter.
  ENTRYID
  The available auditing entry identifier. You cannot use this option in distributed SQL statements. To use this keyword in USERENV, the initialization parameter AUDIT_TRAIL must be set to true.
  EXTERNAL_NAME
  External name of the database user. For SSL authenticated sessions using v.503 certificates, this field returns the distinguished name (DN) stored in the user certificate.
  FG_JOB_ID
  Job ID of the current session if it was established by a client foreground process. Null if the session was not established by a foreground process.
  HOST
  Name of the host machine from which the client has connected.
  INSTANCE
  The instance identification number of the current instance.
  IP_ADDRESS
  IP address of the machine from which the client is connected.
  ISDBA
  TRUE if you are logged on as SYS.
  LANG
  The ISO abbreviation for the language name, a shorter form than the existing 'LANGUAGE' parameter.
  LANGUAGE
  The language and territory currently used by your session, along with the database character set, in the form:language_territory.characterset.
  NETWORK_PROTOCOL
  Network protocol being used for communication, as specified in the 'PROTOCOL=protocol' portion of the connect string.
  NLS_CALENDAR
  The current calendar of the current session.
  NLS_CURRENCY
  The currency of the current session.
  NLS_DATE_FORMAT
  The date format for the session.
  NLS_DATE_LANGUAGE
  The language used for expressing dates.
  NLS_SORT BINARY
  or the linguistic sort basis.
  NLS_TERRITORY
  The territory of the current session.
  OS_USER
  Operating system username of the client process that initiated the database session.
  PROXY_USER
  Name of the database user who opened the current session on behalf of SESSION_USER.
  PROXY_USERID
  Identifier of the database user who opened the current session on behalf of SESSION_USER.
  SESSION_USER
  Database user name by which the current user is authenticated. This value remains the same throughout the duration of the session.
  SESSION_USERID
  Identifier of the database user name by which the current user is authenticated.
  SESSIONID
  The auditing session identifier. You cannot use this option in distributed SQL statements.
  TERMINAL
  The operating system identifier for the client of the current session. In distributed SQL statements, this option returns the identifier for your local session. In a distributed environment, this is supported only for remote SELECT statements, not for remote INSERT, UPDATE, or DELETE operations.
  (The return length of this parameter may vary by operating system.)【原文】【汉音对照
 
 
 
 
 
 
 
 
日版宠物情人插曲《Winding Road》歌词

日版宠物情人2017的插曲,很带节奏感,日语的,女生唱的。 最后听见是在第8集的时候女主手割伤了,然后男主用嘴帮她吸了一下,插曲就出来了。 歌手:Def...

兄弟共妻,我成了他们夜里的美食

老钟家的两个儿子很特别,就是跟其他的人不太一样,魔一般的执着。兄弟俩都到了要结婚的年龄了,不管自家老爹怎么磨破嘴皮子,兄弟俩说不娶就不娶,老父母为兄弟两操碎了心...

如何磨出破洞牛仔裤?牛仔裤怎么剪破洞?

把牛仔裤磨出有线的破洞 1、具体工具就是磨脚石,下面垫一个硬物,然后用磨脚石一直磨一直磨,到把那块磨薄了,用手撕开就好了。出来的洞啊很自然的。需要猫须的话调几...

我就是扫描下图得到了敬业福和爱国福

先来看下敬业福和爱国福 今年春节,支付宝再次推出了“五福红包”活动,表示要“把欠大家的敬业福都还给大家”。 今天该活动正式启动,和去年一样,需要收集“五福”...

冰箱异味产生的原因和臭味去除的方法

有时候我们打开冰箱就会闻到一股异味,冰箱里的这种异味是因为一些物质发出的气味的混合体,闻起来让人恶心。 产生这些异味的主要原因有以下几点。 1、很多人有这种习...

 
 
ci han shu zai xie yi xie chu fa qi he han shu de shi hou fei chang you yong chu 。 yong fa : SELECT sys_context('USERENV', '') FROM dual; di er ge shen shu de ke xuan zhi : AUTHENTICATION_DATA Data being used to authenticate the login user. For X.503 certificate authenticated sessions, this field returns the context of the certificate in HEX2 format. Note: You can change the return value of the AUTHENTICATION_DATA attribute using the length parameter of the syntax. Values of up to 4000 are accepted. This is the only attribute of USERENV for which Oracle implements such a change. AUTHENTICATION_TYPE How the user was authenticated: DATABASE: username/password authentication OS: operating system external user authentication NETWORK: network protocol or ANO authentication PROXY: OCI proxy connection authentication BG_JOB_ID Job ID of the current session if it was established by an Oracle background process. Null if the session was not established by a background process. CLIENT_INFO Returns up to 64 bytes of user session information that can be stored by an application using the DBMS_APPLICATION_INFO package. CURRENT_SCHEMA Name of the default schema being used in the current schema. This value can be changed during the session with an ALTER SESSION SET CURRENT_SCHEMA statement. CURRENT_SCHEMAID Identifier of the default schema being used in the current session. CURRENT_USER The name of the user whose privilege the current session is under. CURRENT_USERID User ID of the user whose privilege the current session is under. DB_DOMAIN Domain of the database as specified in the DB_DOMAIN initialization parameter. DB_NAME Name of the database as specified in the DB_NAME initialization parameter. ENTRYID The available auditing entry identifier. You cannot use this option in distributed SQL statements. To use this keyword in USERENV, the initialization parameter AUDIT_TRAIL must be set to true. EXTERNAL_NAME External name of the database user. For SSL authenticated sessions using v.503 certificates, this field returns the distinguished name (DN) stored in the user certificate. FG_JOB_ID Job ID of the current session if it was established by a client foreground process. Null if the session was not established by a foreground process. HOST Name of the host machine from which the client has connected. INSTANCE The instance identification number of the current instance. IP_ADDRESS IP address of the machine from which the client is connected. ISDBA TRUE if you are logged on as SYS. LANG The ISO abbreviation for the language name, a shorter form than the existing 'LANGUAGE' parameter. LANGUAGE The language and territory currently used by your session, along with the database character set, in the form:language_territory.characterset. NETWORK_PROTOCOL Network protocol being used for communication, as specified in the 'PROTOCOL=protocol' portion of the connect string. NLS_CALENDAR The current calendar of the current session. NLS_CURRENCY The currency of the current session. NLS_DATE_FORMAT The date format for the session. NLS_DATE_LANGUAGE The language used for expressing dates. NLS_SORT BINARY or the linguistic sort basis. NLS_TERRITORY The territory of the current session. OS_USER Operating system username of the client process that initiated the database session. PROXY_USER Name of the database user who opened the current session on behalf of SESSION_USER. PROXY_USERID Identifier of the database user who opened the current session on behalf of SESSION_USER. SESSION_USER Database user name by which the current user is authenticated. This value remains the same throughout the duration of the session. SESSION_USERID Identifier of the database user name by which the current user is authenticated. SESSIONID The auditing session identifier. You cannot use this option in distributed SQL statements. TERMINAL The operating system identifier for the client of the current session. In distributed SQL statements, this option returns the identifier for your local session. In a distributed environment, this is supported only for remote SELECT statements, not for remote INSERT, UPDATE, or DELETE operations. (The return length of this parameter may vary by operating system.)
󰈣󰈤
  免责声明:本文仅代表作者个人观点,与王朝网络无关。王朝网络登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
追忆.绯红色的审判
新竹的果子风
热裤女孩
凯宾斯基酒店随拍
金色草原
菜园小品
情人谷
广东惠州—巽寮湾的海景
 
>>返回首页<<
 为你推荐
 
 
 转载本文
 UBB代码 HTML代码
复制到剪贴板...
 
 热帖排行
 
 
 
 
©2005- 王朝网络 版权所有