上一页 1 ··· 53 54 55 56 57 58 59 60 61 ··· 81 下一页
摘要: select * from dba_sys_privs t where t.grantee='HR';select * from dba_role_privs t where t.grantee='HR'; 阅读全文
posted @ 2016-02-27 17:25 ppjj 阅读(714) 评论(0) 推荐(0) 编辑
摘要: find -name '7*' -type d|xargs -n 1 cp PBClassname.properties 阅读全文
posted @ 2016-01-27 11:56 ppjj 阅读(546) 评论(0) 推荐(0) 编辑
摘要: find ./src -name '*.txt' -exec cat '{}' \; > test.txt 阅读全文
posted @ 2016-01-27 11:34 ppjj 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 原因:set autotrace on和set trimspool on在pl\sql中使用不了解决方法:在window环境中,使用cmd命令,sqlplus user_name/password@tns_name,然后就可以set了 阅读全文
posted @ 2016-01-15 17:59 ppjj 阅读(537) 评论(0) 推荐(0) 编辑
摘要: 1、命令写在一行:如,sqlldr sh/&sh_pass@&connect_string control=&ctl_file data=&dat_file log=&log_file direct=yes rows=100000。 2、注意文件的换行符,如果是wind,则是cr/lf,如果是Mac 阅读全文
posted @ 2016-01-15 17:35 ppjj 阅读(2644) 评论(0) 推荐(0) 编辑
摘要: 原因:因为操作系统环境不同,所以换行符也不同,要查看数据文件的换行符解决方法:1、如果是苹果系统类的数据文件,则改为:RECORDS DELIMITED BY 0X'0D'2、如果是window系统类的数据文件,则改为:RECORDS DELIMITED BY 0X'0D0A'3、如果是unix系统... 阅读全文
posted @ 2016-01-14 15:00 ppjj 阅读(452) 评论(0) 推荐(0) 编辑
摘要: Sole purpose of using concurrency is to produce scalable and faster program. But always remember, speed comes after correctness. Your Java program mus 阅读全文
posted @ 2015-12-21 15:48 ppjj 阅读(536) 评论(0) 推荐(0) 编辑
摘要: 1、使用内部类,而且它是线程安全的,而且只创建一次:/**Prof Bill Pugh, University of Maryland, was the main force behind java memorymodel changes. His principle Initialization-... 阅读全文
posted @ 2015-12-21 11:36 ppjj 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1、如果order by columnA,那么在where查询条件中添加条件columnA=value,则oracle内部会过滤order by排序,直接用索引(可以通过execution plan查看)。2、如果order by columnA,columnB,那么在where查询条件中添加条件c... 阅读全文
posted @ 2015-12-16 16:40 ppjj 阅读(5298) 评论(0) 推荐(0) 编辑
摘要: SELECT A.TABLESPACE_NAME, A.BYTES / (1024 * 1024 * 1024 ) TOTAL, B.BYTES / (1024 * 1024 * 1024 ) USED, C.BYTES / (1024 * 1024 * 1024... 阅读全文
posted @ 2015-12-10 21:07 ppjj 阅读(278) 评论(0) 推荐(0) 编辑
上一页 1 ··· 53 54 55 56 57 58 59 60 61 ··· 81 下一页