develog

[oracle] shell script 에서 sqlplus 로 프로시저 실행하기 본문

카테고리 없음

[oracle] shell script 에서 sqlplus 로 프로시저 실행하기

냐옴 2024. 2. 21. 14:09

 

#!/bin/bash

sqlplus username/password@ORA <<EOF
exec pr_test; # 프로시저 실행
commit;
exit
EOF

 

Comments