Life is a journey

Who Dares Wins
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年11月9日

摘要: sqlplus -silent cps1/password@CPSUAT @ClearCPS1.SQL 阅读全文

posted @ 2010-11-09 14:51 zhaobin 阅读(150) 评论(0) 推荐(0) 编辑

摘要: Save the following text into a ".bat" filed:cd D:\Corporate\Project\Buildif "%2"=="UAT" goto CONNECT_UAT:CONNECT_UATif "%1"=="cps1" goto CONNECT_UAT_CPS1if "%1"=="cps2" goto CONNECT_UAT_CPS2:CONNECT_U... 阅读全文

posted @ 2010-11-09 14:29 zhaobin 阅读(209) 评论(0) 推荐(0) 编辑

2010年1月28日

摘要: dd/MM/yyyy HH:mm:ss 阅读全文

posted @ 2010-01-28 11:39 zhaobin 阅读(176) 评论(0) 推荐(0) 编辑

2009年11月26日

摘要: 今天上班的路上,看到九只白色的鸟站在一棵树上,沐浴在阳光中。可能是传说中的九鹤朝阳吧。 阅读全文

posted @ 2009-11-26 10:05 zhaobin 阅读(214) 评论(0) 推荐(0) 编辑

2009年11月5日

摘要: How do you truncate a number to a certain number of decimal places? for example, if i have 1.149 and i want to truncate that to 2 decimal places, the number should be 1.14. math.truncate() changes the... 阅读全文

posted @ 2009-11-05 15:39 zhaobin 阅读(326) 评论(0) 推荐(0) 编辑

2009年9月10日

摘要: 1:如果是登录的Shell如:你用第putty或者其它telnet工具连接过去,为登录的shell就会引用你在/etc/passwd里面用户默认的shell举例:如果你是ksh,你会~/.profile,并且登录后自动生效。如果你用bash,则你的~/.bash_profile自动生效。.profile对于bash也有效。.login对应csh2. 如果是已经登录Shell如:用vi打开.prof... 阅读全文

posted @ 2009-09-10 10:10 zhaobin 阅读(11403) 评论(0) 推荐(0) 编辑

2009年7月15日

摘要: select to_char(sysdate, 'dd/mm/yyyy hh24:mi:ss') from dual; 阅读全文

posted @ 2009-07-15 15:49 zhaobin 阅读(659) 评论(0) 推荐(0) 编辑

2009年7月13日

摘要: df 阅读全文

posted @ 2009-07-13 15:51 zhaobin 阅读(178) 评论(0) 推荐(0) 编辑

2009年6月29日

摘要: ^((29\/02\/((((0[48])|([13579][26])|([2468][048]))00)|([0-9][0-9]((0[48])|([13579][26])|([2468][048])))))|((31\/(((0[13578])|(1[02])))|((29|30)\/((0[1,3-9])|(1[0-2])))|(((0[1-9])|(1[0-9])|(2[0-8]))\/(... 阅读全文

posted @ 2009-06-29 15:19 zhaobin 阅读(287) 评论(0) 推荐(0) 编辑

摘要: 日期正则:(^|s|()((([1-9]){1}|([0][1-9]){1}|([1][012]){1}){1}[/-]((2[0-9]){1}|(3[01]){1}|([01][1-9]){1}|([1-9]){1}){1}[/-](((19|20)([0-9][0-9]){1}|([0-9][0-9]){1})){1}(([s|)|:])|(^|s|()((([0-9]){1}|([0][1-... 阅读全文

posted @ 2009-06-29 12:01 zhaobin 阅读(342) 评论(0) 推荐(0) 编辑