首 页 繁體中文
设为首页
加入收藏
联系我们
您当前的位置:Stone 商务网 -> 文章中心 -> ASP技术 -> 文章内容 退出登录 用户管理
栏目导航
· ASP技术 · JSP专区
· 网络软件 · 系统工具
· 应用软件 · 联络聊天
· 安全相关 · 冲浪技巧
· 电脑资讯 · 娱乐图库
· 游戏资讯
热门文章
· JavaScript 对象与数...
· Dreamweaver 4.0使用...
· 操作系统也会限制大...
· 打造WinXP系统万能克...
· [图文] 芙蓉姐姐性感照片精...
· ASP错误代码总结 一...
· ASP错误代码总结 二...
· 经验之谈,使用nFor...
· 热血江湖:38刀客成...
· 如何才能快速隐藏硬...
相关文章
ASP调用oracle存储过程
作者:Yeorange  来源:选择自 yeorange 的 Blog  发布时间:2005-11-11 10:04:51  发布人:stoneboy

减小字体 增大字体

<!--#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>

 

[] [返回上一页] [打 印] [收 藏] 收藏到央库
∷相关文章评论∷    (评论内容只代表网友观点,与本站立场无关!) [更多评论...]
关于本站 - 网站帮助 - 广告合作 - 下载声明 - 友情连接 -
Copyright © 2002-2005 35pp.com. All Rights Reserved .
浙ICP备05019665号