批处理文件怎么获取正在运行的oracle job 的sid

批处理文件怎么获取正在运行的oracle job 的sid,第1张

#!/bin/bash

v_var=`sqlplus username/passwd <<eof

set heading off;

select sid from dba_jobs_running where THIS_DATE> sysdate-2/24;

eof

`

如果你测试成功一定给分啊!注意是左引号!

if RequestQueryString("xiugaifl")="ok" then

id=request("id")

sql="select from shop_flx where id = "&id

set rs=servercreateobject("adodbrecordset")

sql="select title,etitle,px_id,sid from shop_flx"

rsopen sql,conn,1,3

title=requestform("title")

etitle=requestform("etitle")

px_id=requestform("px_id")

sid=requestform("sid")

if title="" then

responseWrite("<script language=javascript>alert('中文名称不能为空!');historygo(-1)</script>")

responseend

end if

if etitle="" then

responseWrite("<script language=javascript>alert('英文名称不能为空!');historygo(-1)</script>")

responseend

end if

if px_id="" then

responseWrite("<script language=javascript>alert('排序ID不能为空!');historygo(-1)</script>")

responseend

end if

IF not isNumeric(request("px_id")) then

responsewrite("<script>alert(""排序ID必须为数字!""); historygo(-1);</script>")

responseend

end if

rsaddnew

rs("title")=title

rs("etitle")=etitle

rs("px_id")=px_id

rs("sid")=id

rsupdate

rsclose

set rs=nothing

connclose

set rs=nothing

ResponseWrite "<script>alert('小分类增加成功!');windowlocationhref='shop_flxaspsid="&sid&"';</script>"

end if

%>

以上就是关于批处理文件怎么获取正在运行的oracle job 的sid全部的内容,包括:批处理文件怎么获取正在运行的oracle job 的sid、sid如何等于id,id 是自动获取的、等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/9449996.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-04-28
下一篇2023-04-28

发表评论

登录后才能评论

评论列表(0条)

    保存