posts - 261,comments - 48,views - 91万
08 2016 档案
PL/SQL 查找1-100之间的素数
摘要:1不是素数!!!一开始我以为是素数。。。 阅读全文
posted @ 2016-08-26 16:41 miaoying 阅读(1826) 评论(0) 推荐(0) 编辑
Spring:No bean named 'beanScope' is defined
摘要:初学Spring,“No bean named 'beanScope' is defined”这个问题困扰了我好几个小时,查资料无果后,重写好几遍代码后发现问题居然是配置文件不能放在包里。。。要放在src的直接目录下。。。心碎了一地。。。 使用的是 windows 10 / eclipse 4.5. 阅读全文
posted @ 2016-08-21 20:17 miaoying 阅读(7611) 评论(0) 推荐(0) 编辑
oracle中substr() instr() 用法
摘要:--substr(字符串,截取开始位置,截取长度)=返回截取的字 select substr('miaoying',0,1) from dual;--返回结果为:m select substr('miaoying',1,1) from dual;--返回结果为:m--说明0和1都表示截取的位置为第一个字符 select substr('miaoying',-7,4) from dual;--返回... 阅读全文
posted @ 2016-08-18 18:11 miaoying 阅读(35735) 评论(0) 推荐(3) 编辑
新建jsp报错“The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path”
摘要:今天新建jsp文件时,就报错“Visual Page Editor has experimental support for Windows 64-bit”,然后刚好stackoverflow上面有这个错误的解决方案,传送门:https://stackoverflow.com/questions/3 阅读全文
posted @ 2016-08-16 22:20 miaoying 阅读(3690) 评论(0) 推荐(0) 编辑
解决hibernate只能插入一条数据的问题
摘要:hibernate初学,根据视频教程写好代码后,发现无论执行多少次main函数,数据库中只有一条数据,尝试多次,后来终于发现问题。。。 使用的工具是:MYSQL 5.7.13 eclipse 4.5.2 hibernate 4.0.5 第一步: 在mysql中新建一个数据库 名为DEMO01,然后再 阅读全文
posted @ 2016-08-13 20:08 miaoying 阅读(3216) 评论(0) 推荐(0) 编辑
Java之注解
摘要:转载自 http://www.cnblogs.com/peida/archive/2013/04/24/3036689.html 阅读全文
posted @ 2016-08-07 20:03 miaoying 阅读(267) 评论(0) 推荐(0) 编辑
oracle 将查询到的数据插入表
摘要:1. 新增一个表,通过另一个表的结构和数据 create table tab1 as select * from tab2 2. 如果表存在: insert into tab1 select * from tab2; 阅读全文
posted @ 2016-08-03 17:31 miaoying 阅读(3691) 评论(0) 推荐(0) 编辑
PL/SQL 导入excel表格到oracle数据表
摘要:通过使用PL/SQL 批量查询取数时,将excel中的每一列数据复制黏贴进新建的中间表,黏贴时会有贴歪的情况,也就是某些列会从第二第三行开始插入整列,导致数据乱掉,然后好像又不支持批量删除整列数据,所以一次性导入整张excel表是最佳方法啦。 第一步: 将excel中要插入oracle的数据全部选中 阅读全文
posted @ 2016-08-03 17:07 miaoying 阅读(10468) 评论(0) 推荐(1) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示