国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 數據庫 > Oracle > 正文

Oracle開發之ASP調用oracle存儲過程

2024-08-29 13:41:14
字體:
來源:轉載
供稿:網友

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

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 丹江口市| 河池市| 蒲江县| 长丰县| 大石桥市| 马龙县| 姜堰市| 富宁县| 满洲里市| 黄平县| 满城县| 桦南县| 德安县| 万载县| 句容市| 浮山县| 广南县| 仙居县| 廊坊市| 天峻县| 大名县| 旬阳县| 珠海市| 和林格尔县| 沾化县| 怀安县| 晋江市| 子洲县| 济宁市| 靖边县| 白沙| 隆安县| 澜沧| 正定县| 临泉县| 大石桥市| 渭南市| 忻城县| 望都县| 衡南县| 西丰县|