- 博客(14)
- 收藏
- 关注
原创 --pl语句的错误处理
--错误处理declarev_count number(4);beginselect empno into v_count from emp where deptno=10;exceptionwhen too_many_rows thendbms_output.put_line(太多记录了);when no_data_found then--数据没有找到异常dbms_output.put_li
2009-05-27 17:16:00
381
原创 Oracle数据库dba经常做的---记录错误的信息
--作为数据库dba经常做的事情create table errorlog(id number primary key,errorcode number,errmsg varchar2(1024),errdate date);--创建序列create sequence seq_errorlog_id start with 1 increment by 1;declare v_deptno
2009-05-27 17:15:00
385
原创 正则表达式举例讲解
import java.util.regex.Matcher;import java.util.regex.Pattern;public class Test { public static void main(String[] args) { //简单认识正则表达式的概念 /* p("abc".matches("...")); p("a8729a".replaceAll("//d
2009-05-27 16:43:00
317
原创 EmailSpider-----获取网页上邮件的信息
import java.io.BufferedReader;import java.io.FileNotFoundException;import java.io.FileReader;import java.io.IOException;import java.util.regex.Matcher;import java.util.regex.Pattern;public class Ema
2009-05-27 16:39:00
453
原创 java程序员代码工作量---CodeCounter
import java.io.BufferedReader;import java.io.File;import java.io.FileNotFoundException;import java.io.FileReader;import java.io.IOException;public class CodeCounter { static long normalLines = 0; s
2009-05-27 16:38:00
676
原创 存储过程
--存储过程create or replace procedure p is cursor c is select * from emp2 for update;begin for v_emp in c loop if(v_emp.deptno=10)then update emp2 set sal=sal+10 where current o
2009-05-27 08:56:00
268
原创 函数--触发器
函数--触发器 2009-05-26 13:39 (分类:Oracle语句) --函数create or replace function sal_tax(v_sal number) return number; is begin if(v_sal return 0.10; elsif(v_sal
2009-05-27 08:55:00
230
原创 --树状结构存储与展示
--树状结构存储与展示drop table article;create table article ( id number primary key, cont varchar2(4000), pid number, isleaf number(1),--0代表非叶子节点,1代表根节点 alevel number(2)--帖子的等级);insert into article v
2009-05-27 08:53:00
500
原创 性能测试
Rational测试工具-性能测试考试模拟题 1、 面哪些是对性能测试的正确描述?(abc)a. 性能测试是为描述测试对象与性能相关的特征,并对其进行评价而实施和执行的一类测试b. 如描述和评价测试对象的响应时间、吞吐量,以及操作的可靠性和限制等特征c. 一般可以使用被测系统的动态监测报告、响应时间及吞吐量报告、百分位图报告和各种性能比较报告,对被测对象
2009-05-26 17:05:00
523
转载 生活哲言
传说:十个看完,九个有领悟 1、人之所以痛苦,在于追求错误的东西。 2、与其说是别人让你痛苦,不如说自己的修养不够。 3、如果你不给自己烦恼,别人也永远不可能给你烦恼。因为你自己的内心,你放不下。 4、好好的管教你自己,不要管别人。 5、不宽恕众生,不原谅众生,是苦了你自己。 6、别说别人可怜,自己更可怜,自己修行又如何?自己又懂得人生多少? 7、福报不够的人,就会常常听到是非;福报够的
2009-05-14 17:06:00
675
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人