23,121
社区成员
发帖
与我相关
我的任务
分享
#!/bin/bash##
fname="/dataExport/LOG`date +_%Y_%m`.xml"
./command -cmd export -name "/DATA_Export/Data_Object/LogObject" -file $fname
su - oracle -c "sqlplus ljc007/CSDN" <<EOF
select local_tran_id from dba_2pc_pending where state='prepared';
exit
EOF