![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Only valid for Oracle 9.2 and latter versions? My D.B. server has Oracle 8.0.6 versión. I try to run: SELECT sys_context('USERENV', 'USERNAME') FROM dual; with error. ---- ¿Esta función solo es válida para la versión 9.2 de Oracle, y posteriores? Mi servidor Oracle tiene la 8.0.6. Intenté ejecutar : SELECT sys_context('USERENV', 'USERNAME') FROM dual; dándome error. |
#12
| |||
| |||
|
|
Kiko wrote: SQLWKS> SELECT SYS_CONTEXT ('USERENV', 'CURRENT_USER') from dual; SELECT SYS_CONTEXT ('USERENV', 'CURRENT_USER') from dual * ORA-00904: nombre de columna no válido - I translate : (Column name not valid) SQLWKS SQLWKS> SELECT SYS_CONTEXT ('USERENV', 'OS_USER') from dual; SELECT SYS_CONTEXT ('USERENV', 'OS_USER') from dual * ORA-00904: nombre de columna no válido read the rest of my post (and Niall's) about USERENV, and follow the link I provided you. |
#13
| |||
| |||
|
|
as it turns out Oracle8 USERENV doesn't identify the osuser anyway. Not to mention that that link stinks. If you actually follow it, you |

#14
| |||
| |||
|
|
Sybrand Bakker wrote: On Wed, 11 Feb 2004 13:06:36 +0100, "Kiko" <kiko (AT) terra (DOT) es> wrote: Anybody can help me? Check out the sys_context function in the SQL reference manual. -- Sybrand Bakker, Senior Oracle DBA SYS_CONTEXT function information can be found at http://tahiti.oracle.com and at http://www.psoug.org/reference/library.html. -- Daniel Morgan http://www.outreach.washington.edu/e...ad/oad_crs.asp http://www.outreach.washington.edu/e...oa/aoa_crs.asp damorgan@x.washington.edu (replace 'x' with a 'u' to reply) |
![]() |
| Thread Tools | |
| Display Modes | |
| |