log_db_1=`sqlplus -S dsg/dsg#123DSG << EOF
set heading off feedback off pagesize 0 verify off echo off numwidth 5;
select sequence# from v\\\$log where THREAD#=1 and status='CURRENT';  

#注意点 \ 要转义
exit
EOF`

相关文章:

  • 2021-10-17
  • 2022-01-26
  • 2022-12-23
  • 2021-09-27
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-02
  • 2022-12-23
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
相关资源
相似解决方案