上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 81 下一页
摘要: select sum(bytes/1024/1024) from user_segments where segment_name='TF_F_USER_PHONE'; 阅读全文
posted @ 2016-06-16 17:05 ppjj 阅读(615) 评论(0) 推荐(0) 编辑
摘要: 1、要有唯一索引或者主键作为前提,减少数据冲突的数量,如示例标红的地方: 2、当有in查询的时候,尽量用exists,这样能提高查询效率: <!--StartFragment --> create table TF_F_USER_DIFF1 tablespace BD_TBS_EXP_DATA pa 阅读全文
posted @ 2016-05-15 13:03 ppjj 阅读(2601) 评论(0) 推荐(0) 编辑
摘要: CREATE OR REPLACE FUNCTION GET_CHINESE(P_NAME IN VARCHAR2) RETURN VARCHAR2 IS V_CODE VARCHAR2(30000) := ''; V_CHINESE VARCHAR2(4000) := ''; V_NON_CHIN 阅读全文
posted @ 2016-04-22 21:17 ppjj 阅读(6204) 评论(0) 推荐(0) 编辑
摘要: 1 static List insertSortedList(){ 2 List nums = new ArrayList(); 3 nums.add(10); 4 nums.add(9); 5 nums.add(7); 6 nums.add(4); 7 nums.add(6); 8 ... 阅读全文
posted @ 2016-04-05 20:42 ppjj 阅读(495) 评论(0) 推荐(0) 编辑
摘要: import java.util.NoSuchElementException; public class DoublyLinkedListImpl { private Node head;// sentinel before first item private Node tail;// sentinel after last item private int size;// num... 阅读全文
posted @ 2016-04-05 20:41 ppjj 阅读(429) 评论(0) 推荐(0) 编辑
摘要: create synonym TD_B_REDIS_COUNT for ucr_param.TD_B_REDIS_COUNT;grant DELETE,UPDATE,INSERT,SELECT on TD_B_REDIS_COUNT to uop_param; 阅读全文
posted @ 2016-04-04 17:53 ppjj 阅读(403) 评论(0) 推荐(0) 编辑
摘要: create database link to_group connect to UCR_GROUP identified by "UCR_GROUPQWER"using '(description =(address = (protocol = tcp)(host = 10.168.146.43) 阅读全文
posted @ 2016-04-04 14:33 ppjj 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 赋权:grant execute on function1 to ucr_dtb1;收回执行权限:revoke execute on function1 from ucr_dtb1; 在ucr_dtb1用户下执行函数: select exp_dtb1.function1('xxxxx') from 阅读全文
posted @ 2016-03-05 17:11 ppjj 阅读(9961) 评论(0) 推荐(0) 编辑
摘要: 在linux环境上: exp user_name/password@//ip_address:1521/service_name file=aa.sql tables=\(table_name\); 或者: exp user_name/password@tns_name file=aa.sql ta 阅读全文
posted @ 2016-03-04 16:08 ppjj 阅读(728) 评论(0) 推荐(0) 编辑
摘要: 1、升序排列 create index ix_table1 on table1 (column1,column2); select column1,column2 from table1 order by column1,column2; 2、降序排列 create index ix_table1 阅读全文
posted @ 2016-03-01 11:36 ppjj 阅读(547) 评论(0) 推荐(0) 编辑
上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 81 下一页