TOOL_ENV.GETVAR
built-in procedureThis procedure provides a way to import an environment variable into a VARCHAR2
variable.
PROCEDURE TOOL_ENV.GETVAR
(varname VARCHAR2,
varvalue VARCHAR2);
Parameter |
Description |
|
The name of the environment variable. |
|
The value of the environment variable. |
/*
** Retrieve the environment variable USER into a
** variable named :userid so you can use it in a
** connect string or other call.
*/
TOOL_ENV.GETVAR('USER', :userid);
About the TOOL_ENV
built-in package
Copyright © 1984, 2005, Oracle. All rights reserved.