11 2011 档案

oracle 时间差 做查询条件
摘要:查询时间差<10秒的记录:select * from myTable where (t2- t1)*24*60*60<10t1,t2只能是date类型。如果是 http://www.linuxidc.com/Linux/2011-10/45480.htm 阅读全文

posted @ 2011-11-30 22:49 子非鱼焉 阅读(269) 评论(0) 推荐(0)

几条最基本的 sqlplus命令
摘要:sqlplus登录服务器:sqlplus sys/system@192.168.1.55:1521/orcl as sysdba创建表空间: create tablespace tspace1 datafile 'tspace1.dat' size 100M autoextend on n... 阅读全文

posted @ 2011-11-30 11:46 子非鱼焉 阅读(111) 评论(0) 推荐(0)

oracle 分页
摘要:记录一下,oracle 分页语句:select * from(select a.*,rownum row_num from(select * from mytable t order by t.id desc) a) b where b.row_num between 1 and 10下面是... 阅读全文

posted @ 2011-11-30 11:23 子非鱼焉 阅读(97) 评论(0) 推荐(0)

native2ascii 用法解析
摘要:mark native2ascii是sun java sdk提供的一个工具。用来将别的文本类文件(比如*.txt,*.ini,*.properties,*.java等等)编码转为Unicode编码。为什么要进行转码,原因在于程序的国际化。用法:native2ascii [-reverse]... 阅读全文

posted @ 2011-11-22 16:24 子非鱼焉 阅读(126) 评论(0) 推荐(0)

apusic jconsole jmx connecitons url
摘要:apusic jconsole jmx connection url:service:jmx:iiop:///jndi/corbaname::1.2@localhost:4888#jmx/rmi/RMIConnectorServer 阅读全文

posted @ 2011-11-22 15:43 子非鱼焉 阅读(150) 评论(0) 推荐(0)

windows下plsql 设置 里面timestamp显示的格式
摘要:Mark 一下 pl/sql developer中 timestamp时间类型显示格式设置:添加一个系统环境变量:名称: NLS_TIMESTAMP_FORMAT值: YYYY-MM-DD HH24:MI:SS:FF6保存后, 重启pl/sql developer 即可. 查看当前的格式:... 阅读全文

posted @ 2011-11-21 15:18 子非鱼焉 阅读(172) 评论(0) 推荐(0)

导航