少年阿賓

          那些青春的歲月

            BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
            500 Posts :: 0 Stories :: 135 Comments :: 0 Trackbacks

          常用鏈接

          留言簿(22)

          我參與的團隊

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          -- Create table
          create table ABING1
          (
            ID         INTEGER not null,
            CREATETIME DATE default sysdate not null,
            FIRSTNAME  NVARCHAR2(100) not null,
            LASTNAME   CLOB not null,
            MIDDLENAME NCLOB not null
          )
          tablespace USERS
            pctfree 10
            initrans 1
            maxtrans 255
            storage
            (
              initial 64K
              minextents 1
              maxextents unlimited
            );
          -- Create/Recreate primary, unique and foreign key constraints
          alter table ABING1
            add constraint PK_ABING primary key (ID)
            using index
            tablespace USERS
            pctfree 10
            initrans 2
            maxtrans 255
            storage
            (
              initial 64K
              minextents 1
              maxextents unlimited
            );




          create or replace procedure abin55(abing in varchar2,abin out sys_refcursor)
          as
          begin
          declare
          createtime date:=to_date(abing,'yyyy:MM:dd HH24:MI:SS');
          cursor mycur is select * from abing1 t where t.createtime=createtime;
          abin mycur%rowtype;
          begin
          open mycur;
          loop
               fetch mycur into abin;
               exit when mycur%NOTFOUND;
          end loop;
          close mycur;
          end;
          end;
          posted on 2012-08-15 00:57 abin 閱讀(531) 評論(0)  編輯  收藏 所屬分類: oracle
          主站蜘蛛池模板: 郁南县| 金阳县| 清流县| 吉林省| 金坛市| 晋城| 四会市| 太保市| 集贤县| 周口市| 萨迦县| 福海县| 双柏县| 呼图壁县| 彭阳县| 兴隆县| 葫芦岛市| 普兰店市| 朝阳区| 云阳县| 濮阳县| 邮箱| 陆川县| 仪征市| 民和| 林州市| 定襄县| 枣阳市| 博客| 金坛市| 桂林市| 岗巴县| 铁力市| 监利县| 阿克陶县| 西藏| 彰武县| 蓬莱市| 瓮安县| 石阡县| 平利县|