oracle
文章平均质量分 53
lanxulin
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Oracle删除表的几种方法
引言: drop table books;的指令会将表放到回收站里, 用 flashback table "BIN$1Oiy3qm/QJubov1BwBUOgw==$0" to before drop; 就能恢复。 删除表: drop table books purge;是绕过回收站,彻底删除 建议你先 purge recyclebin; 清除当前用户的回转载 2016-11-02 09:08:47 · 14230 阅读 · 0 评论 -
存储blob
1.jdbc读取blob字段 FileUtils fu = new FileUtils(); String []array = fu.toByteArray(rs.getBlob("PICTURE")); Blob blob = rs.getBlob("PICTURE"); 2.更新blob OracleResultSet oracleResultSet = (OracleRe原创 2016-11-15 14:53:41 · 409 阅读 · 0 评论 -
调用存储过程
public boolean xx(String xx) { Connection conn = null; Statement stmt = null; CallableStatement proc = null; List sqlList = new ArrayList(); try { Session session = HibernateSessionFactor原创 2016-11-15 15:04:16 · 275 阅读 · 0 评论 -
oracle存储过程循环修改
create or replace procedure update is cursor c1 is select s.id as column1,t.huzhu_name as column2 from table1 s,table2 t where t.id=s.apply_id ; begin for r1 in c1 loop update table1 a set a.h原创 2016-11-23 13:49:12 · 2122 阅读 · 0 评论
分享