shell脚本获取oracle pdb

网友投稿 684 2022-10-13 22:55:00

shell脚本获取oracle pdb

#!/bin/ksh ############################################################################################################### #Script name: show_oracle_mode.sh #Script description: show oracle pdb name for multi pdbs. #Current Release Version: 1.0.0 #Script Owner: #Latest editor: #Support platform: Linux & AIX. #Change log:first version. # #Descript:date 2021/8/17 # # ############################################################################################################### load_sql="select cdb from v\$database;" show_pdbs="SELECT NAME FROM V\$PDBS where name not like 'PDB\$SEED';" open_mode=`sqlplus -S "/ as sysdba" <

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:shell脚本监控某些文件夹下文件数量
下一篇:ansible ping错误
相关文章