2014年12月11日
摘要: 1:首先看创建一个函数 给定一个日期,判断是否是休息日. 1 create or replace function test(date_in in date) 2 return int 3 is 4 num int; 5 workflag varchar2(1); 6 beg... 阅读全文
posted @ 2014-12-11 17:47 QQing_xu 阅读(11343) 评论(0) 推荐(0) 编辑
摘要: 1 创造存储过程Create or procedure My_procedure( param1,param2) isBegin...End2 判断语句If x>0 thenBegin...EndEnd if3 for 循环For …in… Loop...End Loop4 循环遍历游标Create... 阅读全文
posted @ 2014-12-11 17:19 QQing_xu 阅读(253) 评论(0) 推荐(0) 编辑