From 1933a012839e7e00890e138689cd15e732e14924 Mon Sep 17 00:00:00 2001 From: Joshua Rhoderick Date: Sat, 22 Dec 2018 22:16:21 -0500 Subject: [PATCH] Add quotes to the PASSWD substitution variable. In Cmder on Windows (and possibly others?), the CREATE_USER.SQL script fails if the password contains certain special characters --- source/install/create_user.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/install/create_user.sql b/source/install/create_user.sql index 47163c6..0848b9c 100644 --- a/source/install/create_user.sql +++ b/source/install/create_user.sql @@ -35,13 +35,13 @@ accept TEMP_TABLESPACE char default &TEMP_TABLESPACE prompt 'Temporary Tablespac accept PASSWD CHAR prompt 'Enter a password for the logger schema [] :' HIDE -create user &LOGGER_USER identified by &PASSWD default tablespace &LOGGER_TABLESPACE temporary tablespace &TEMP_TABLESPACE +create user &LOGGER_USER identified by "&PASSWD" default tablespace &LOGGER_TABLESPACE temporary tablespace &TEMP_TABLESPACE / -alter user &LOGGER_USER quota unlimited on &LOGGER_TABLESPACE +alter user &LOGGER_USER quota unlimited on &LOGGER_TABLESPACE / -grant connect,create view, create job, create table, create sequence, create trigger, create procedure, create any context to &LOGGER_USER +grant connect,create view, create job, create table, create sequence, create trigger, create procedure, create any context to &LOGGER_USER / prompt