上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页
摘要: 1.千万不要在晚上做任何决定。 2.有些话不知道该不该说的时候就别说。 3.你必须很努力才能显得毫不费力。 4.别和好,会重蹈覆辙。 5.永远留住百分之三十的神秘。 6.贵有恒,何必三更起五更眠;最无益,一日曝十日寒!! 7.人非圣贤孰能无过,过而能改,善莫大焉! 阅读全文
posted @ 2017-03-02 21:32 21heshang 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 用于截取字符串的子串,返回char中从m位开始取n个字符。 如果m=0 ,则从首字符开始,如果m取负数,则从尾部开始。 如果没有设置n,或者n的长度超过了char的长度,则取到字符串末尾为止。 select substr('Dotor Who travels in TARDIS',8,25) fro 阅读全文
posted @ 2017-03-02 09:28 21heshang 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 补位函数:用于在字符串char1的左端或右端用char2补足n位,char2可重复多次。 -LPAD(char1,n,char2)左补位函数 -RPAD(char1,n,char2)右补位函数 eg:select ename,LPAD(sal,6,'$') as 'salary' from emp; 阅读全文
posted @ 2017-03-02 09:03 21heshang 阅读(271) 评论(0) 推荐(0) 编辑
摘要: [eajuOrderService] 2017-03-01 19:31:38,730 [org.mybatis.spring.SqlSessionUtils]-[DEBUG] Creating a new SqlSession[eajuOrderService] 2017-03-01 19:31:3 阅读全文
posted @ 2017-03-01 19:33 21heshang 阅读(5696) 评论(0) 推荐(0) 编辑
摘要: 带图形化界面的:ubuntu 16.04 传统的:CentOS-6.7-86_64-bin-DVD1.iso 阅读全文
posted @ 2017-02-28 19:55 21heshang 阅读(227) 评论(0) 推荐(0) 编辑
摘要: http://www.2cto.com/os/201411/356865.html root下 ]# /etc/init.d/network restart ]# vim /etc/sysconfig/network-scripts/ifcfg-eth0 ]# ping 192.168.147.2 阅读全文
posted @ 2017-02-28 19:54 21heshang 阅读(135) 评论(0) 推荐(0) 编辑
摘要: select trim('e'from 'elite'),ltrim('elite','e'), rtrim('elite','e') from dual; 阅读全文
posted @ 2017-02-28 19:17 21heshang 阅读(153) 评论(0) 推荐(0) 编辑
摘要: SELECT deptno,ename,empno, ROW_NUMBER() OVER(partition by deptno ORDER BY empno) AS emp_id FROM emp; 阅读全文
posted @ 2017-02-28 16:17 21heshang 阅读(662) 评论(0) 推荐(0) 编辑
摘要: select * from eo_c_order t where t.create_time>systimestamp-interval'1'day; 阅读全文
posted @ 2017-02-24 10:07 21heshang 阅读(4618) 评论(0) 推荐(0) 编辑
摘要: select t.create_time as 创建时间, '客户订单号'||':'|| t.eoor_logistic_no ||' 公司订单号'||':' ||t.eoor_order_nofrom eo_c_order twhere 1=1and rownum<10 阅读全文
posted @ 2017-02-23 20:51 21heshang 阅读(9210) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页