on 09-17-2012 6:15 AM
Hi Philipp,
You can use the EXEC statement, replacing
create user NEWUSER password HelloWorld1;
to
EXEC 'create user NEWUSER password HelloWorld1';
You can also make this dynamic:
CREATE procedure "createUser" (IN NUSER NVARCHAR(20), out result integer) language sqlscript as
begin
EXEC 'CREATE USER ' || :nuser || ' password HelloWorld1';
end;
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.