发新话题
打印

ASP调用oracle存储过程

ASP调用oracle存储过程

<!--#include file="inc\public.asp"-->
<!--#include file="inc\conn.asp"-->

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>

</head>

<body>
<%
'-----------------------------------
dim sp_common
Set sp_common = Server.CreateObject("ADODB.Command")
 with sp_common     
  .ActiveConnection = conn 
  .CommandText = "cd_update_log"
  .Parameters.Append .CreateParameter("@inputremark", adVarChar, adParamInput,50,"联通.Ye")
  .Parameters.Append .CreateParameter("@msg", adInteger, adParamOutput)
 .execute
 end with
 
msg=sp_common("@msg")
'-----------------------------------
response.write "<hr>" & msg
response.end

If 1+1=3 then

'----------------------------------Table
 create table CD_BILL_LOG
 (
   BILL_ID      NUMBER,
   DEAL_EMP_ID  NUMBER,
   REACH_DATE   DATE,
   DONE_DATE    DATE,
   BILL_STATUS  VARCHAR2(10),
   DEAL_DEPT_ID NUMBER,
   SIGN         NUMBER,
   REMARK       VARCHAR2(50)
 )
 ;
'-----------------------proc
create or replace procedure
cd_update_log(inputremark varchar2,msg out float)
 as
 begin
 
   update cd_bill_log a
   set a.remark =inputremark   --to_char(sysdate,'mi:ss')
   where a.bill_id=45;
    msg:=1;
   commit;
end;

end if
%>

</body>
</html>

TOP

丽妍堂真轻松排汗

正品丽妍堂真轻松排汗运动机厂家直销13738963879原厂正品--丽妍堂真轻松排汗运动机,蒸美康排汗运动机厂家直销,优惠直销.订购热线0579-87368390,运动排汗,强身健体,采用薰蒸的原理,集排毒,减压,健体,美容养颜,减肥,黄金睡眠功效为一体.每天蒸一蒸,跟疲劳,斑点,毒素说再见. 丽妍堂排汗,丽妍堂排汗机好不好,丽妍堂排汗机怎么样,丽妍堂排汗机好吗,丽妍堂真轻松排汗机 丽妍堂排汗运动机,丽妍堂排汗机的价格,丽妍堂真舒服排汗机,丽妍堂排汗机好不好,丽妍堂排汗机怎么样,丽妍堂排汗机好吗,丽妍堂排汗机价格,丽妍堂蒸汽排汗机。公司网站:www.hd273.com

TOP

网站优化seo,网站推广,网站排名

哈楼信息技术有限公司专注于SEO优化技术的研究,为企业提供专业SEO服务从事搜索引擎优化网站优化,seo,常州网站优化,常州SEO,致力搜索引擎优化研究,与广大SEO爱好者分享搜索引擎优化技巧与经验。
专业从事网站优化,SEO,搜索引擎优化等专业网络技术

TOP

发新话题