2015年3月18日

cmd操作oracle

摘要: 利用cmd的操作命令导出,详情如下(备注:方法二是转载网上的教程):1:G:\Oracle\product\10.1.0\Client_1\NETWORK\ADMIN目录下有个tnsname.ora文件,内容如下:CMSTAR = (DESCRIPTION = (ADDRESS_LIST = (AD... 阅读全文

posted @ 2015-03-18 16:44 独臂刀客 阅读(305) 评论(0) 推荐(0)

数据导出

摘要: 1 将数据库TEST完全导出,用户名system 密码manager 导出到D:\daochu.dmp中 exp system/manager@TEST file=d:\daochu.dmp full=y 2 将数据库中system用户与sys用户的表导出 exp system/manage... 阅读全文

posted @ 2015-03-18 16:43 独臂刀客 阅读(128) 评论(0) 推荐(0)

清空表数据,

摘要: 速度更快,但无日志记录 :TRUNCATE TABLE 【表名】;日志记录 :DELETE FROM TABLE 【表名】; 阅读全文

posted @ 2015-03-18 16:41 独臂刀客 阅读(101) 评论(0) 推荐(0)

堆栈溢出解决

摘要: -Xms512m -Xmx1024m -XX:PermSize=256M -XX:MaxPermSize=512M 1、Eclipse-Luna 该解决方法针对使用tomcat插件的 2、MyEclipse --待补充 阅读全文

posted @ 2015-03-18 16:40 独臂刀客 阅读(286) 评论(0) 推荐(0)

java路径中'/'的使用

摘要: 考虑java的跨系统:uinux和winw7中的‘/'标识方法不同,使用下放语句可避免File.separator;//代表"/" 阅读全文

posted @ 2015-03-18 16:36 独臂刀客 阅读(3751) 评论(0) 推荐(0)

触发器例子

摘要: 1.操作对象表create table jk_test5 ( id number not null primary key,person_id varchar2(20),name varchar2(30),readflag number,note varchar2(200));2.日志表create... 阅读全文

posted @ 2015-03-18 16:33 独臂刀客 阅读(221) 评论(0) 推荐(0)

修改主键约束

摘要: alter table Account_Info drop constraint PK_ACCOUNT_INFO cascade drop index;alter table Account_Info ADD constraint PK_ACCOUNT_INFO primary key(RECEIV... 阅读全文

posted @ 2015-03-18 16:28 独臂刀客 阅读(206) 评论(0) 推荐(0)

org.apache.jasper.JasperException: xxxx.jsp(118,24) Attribute style invalid for tag formatNumber according to TLD

摘要: 错误:org.apache.jasper.JasperException: /projm/projBudgetChangeOverview.jsp(118,24) Attribute style invalid for tag formatNumber according to TLD原因:1、在s... 阅读全文

posted @ 2015-03-18 10:53 独臂刀客 阅读(660) 评论(0) 推荐(0)

2014年12月26日

oracle触发器级联删除

摘要: create or replace trigger delete_trigger1after delete on contracting_party for each row begin if deleting then delete Account_Info where party_... 阅读全文

posted @ 2014-12-26 14:25 独臂刀客 阅读(249) 评论(0) 推荐(0)

2013年7月21日

org.dom4j.Document 解析xml

摘要: 1.Java代码 Document doc = DocumentHelper.parseText(xml); // Element rootE = doc.getRootElement(); List modules = doc ... 阅读全文

posted @ 2013-07-21 10:26 独臂刀客 阅读(1483) 评论(0) 推荐(0)

导航