This example shows how to use CLIv2 in an external stored procedure to directly execute the following SQL requests:
- DELETE USER
- DROP USER
- DROP ROLE
- CREATE ROLE
- GRANT
- DROP PROFILE
- CREATE PROFILE
- CREATE USER
The external stored procedure uses the first input argument as the name for the CREATE USER request.