Current user (degene die script draait) in CREA en UPGRADE script loggen

svn path=/Database/trunk/; revision=37785
This commit is contained in:
Jos Groot Lipman
2018-04-26 11:38:20 +00:00
parent f11c0fd0ec
commit 88fce32d51
2 changed files with 4 additions and 0 deletions

View File

@@ -52,6 +52,8 @@ PROMPT
PROMPT This is the generated list-file of EVALCONCAT(FCLT,_DBV).sql which was used
PROMPT to create the FACILITOR(r) EVALCONCAT(DB,_DBV) schema in Oracle
PROMPT
SELECT 'Current os_user: ' || SYS_CONTEXT( 'userenv', 'os_user' ) FROM DUAL;
PROMPT
SET LINESIZE 1000
SET DEFINE OFF

View File

@@ -90,6 +90,8 @@ exec :update_start := dbms_utility.get_time
/* om zeker te weten dat eventuele conversies goed gaan */
ALTER SESSION SET nls_territory='america';
SELECT 'Current os_user: ' || SYS_CONTEXT( 'userenv', 'os_user' ) FROM DUAL;
PROMPT This script was run in user:
SHOW USER
SELECT 'The version of FACILITOR@' || USER || ' was ' || fac.getdbversion()