📄 bash.txt
字号:
create user &username identified by student;
grant connect to &username;
grant resource to &username;
/
--use accept
ACCEPT username
prompt 'enter the username:'
ACCEPT password
prompt 'enter password:'
create user &username identified by &password;
grant connect to &username;
grant resource to &username;
/
--
#!/bin/ksh
sqlplus system/manager <<stament1
@createuser
stament1
accept username char prompt 'input username:'
accept password char prompt 'input password:' HIDE
create user &username identified by &password;
grant connect to &username;
grant resource to &username;
connect &username/&password;
exit
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -