`
文章列表
http://www.cnblogs.com/tohen/archive/2008/11/17/1335186.html     一、在PLSQL中创建表: <!-- <br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->create   table  HWQY.TEST(CARNO  VA ...
TO_DATE格式 Day: dd number 12 dy abbreviated fri day spelled out friday ddspth spelled out, ordinal twelfth Month: mm number 03 mon abbreviated mar month spelled out march Year: yy two digits 98 yyyy four digits 1998 24小时格式下时间范围为: 0:00:00 - 23:59:59.... 12小时格式下时间范围为: 1:00:00 ...
简介   本文首先简单介绍了Oracle 8的数据复制的基本概念,然后详细介绍了实现Oracle 8数据复制延迟事务队列转发的Oralce 8任务队列机制,包括“任务队列”子系统的安装,API编程接口DBMS_JOB包的介绍以及API过程中各参数的概念,任务队列的体系结构和运行环境, 任务队列数据字典视图以及时间间隔(interval)参数的算法等。 一、Oracle 8数据复制   复制,顾名思义就是将数据库中的数据拷贝到不同物理地点的数据库中以支持分布式应用,它是整个分布式计算解决方案的一个重要组成部分。 Oracle8的数据复制按功能主要分为三类:基本(简单) ...
ORACLE日期时间函数大全    TO_DATE格式(以时间:2007-11-02   13:45:25为例)            Year:              yy two digits 两位年                显示值:07         yyy three digits 三位年                显 ...
  举例说明:1、日期字符转换函数to_date(),to_char()    SQL:select to_date('20080229132545','yyyy-mm-dd hh24:mi:ss') from dual ; RESULT:2008-2-29 13:25:45    SQL:select to_char(sysdate,'hh:mi:ss') TIME from dual; RESULT:10:51:432、    S ...
Apache Ant 时间戳生成tstamp任务 http://jocelyn-zjh.blogbus.com/logs/34983817.html Apache Ant Tstamp : http://ant .apache.org/manual/index.html 摘于Apache Ant学习笔记之一 原作者:Matt Chapman 在生成环境中使用当前时间和日期,以某种方式标记某个生成任务的输出,以便记录它是何时生成的,这经常是可取的。这可能涉及编辑一个文件,以便插入一个字 符串来指定日期和时间,或将这个信息合并到 JAR 或 zip 文件的文件名中。 这种需要是通过简 ...
    我们知道在JSP里,获取网页 客户端的IP地址的方法 是:request.getRemoteAddr(),这种方法在大部分情况下都是有效的。但是在通过了Apache,Squid等反向代理软件就不能获 取到客户端的真实IP地址了。如果使用了反向代理软件,用request.getRemoteAddr()方法获取的IP地址是:127.0.0.1或 192.168.1.110,而并不是客户端的真实IP。   经过代理以后,由于在客户端和服务之间增加了中间层,因此服务器无法直接拿到客户 端的 IP,服务器端应用也无法直接通过转发请求的地址返回给客户端。但是在转发请求的HTTP头信息中 ...
1. set log4j properties file   # For JBoss: Avoid to setup Log4J outside $JBOSS_HOME/server/default/deploy/log4j.xml! # For all other servers: Comment out the Log4J listener in web.xml to activate Log4J. log4j.rootLogger=INFO, stdout ,logfile log4j.appender.stdout=org.apache.log4j.ConsoleApp ...
download net : http://www.jarvana.com/jarvana/browse/ http://www.jarvana.com/jarvana/browse/c3p0/     C3PO config document: http://www.mchange.com/projects/c3p0/index.html#oracle-specific     C3PO API documentation : http://www.mchange.com/projects/c3p0/apidocs/index.html    
使用IBatis 在调用Oracle 的存储过程 或者 函数时出现以下异常, 内容如下: ----------------------------------------------------------------------------------------------- org.springframework.jdbc.UncategorizedSQLException: SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [17004];   - ...
原文: http://www.9iext.cn/thread-29-1-1.html   Ext .data.Store 是EXT中用来进行数据 交换和数据交互的标准中间件,无论是Grid 还是ComboBox ,都是通过它实现数据读取、类型转换、 排序分页和搜索等操作的。 Ext.data.Store中有一个 Ext ...
Sets the Content-Type header. Content-Type identifies the MIME type of the response document and the character set encoding. To set the Content-Type header, use the following code: response.setContentType("text/html; charset=gbk"); The default MIME type is text/plain. Some common ...
在项目中用到了poi这个开源的操作excel文件的jar.项目中用到struts容器管理servlet.不是单纯的直接用 servlet.workbook.write(os);           os.flush();           os.close();           return "SUCCESS";  在我的action中用是这样处理最后的传出.但是报出了: java.lang.IllegalStateException: getOutputStream() has already been called for this respons ...

paging in oracle

/************************* get 11-20 page info *************************/   SELECT * FROM (      SELECT ROWNUM num, t.* FROM table t      WHERE ROWNUM <=20 ) tmp WHERE  tmp.num >10

Extract use in oralce

racle中Extract函数的用法 SELECT EXTRACT(YEAR FROM SYSDATE) FROM DUAL; return Current Year SELECT EXTRACT(MONTH FROM SYSDATE) FROM DUAL; return Current Month SELECT EXTRACT(DAY FROM SYSDATE) FROM DUAL; return Current Day SELECT EXTRACT(HOUR FROM SYSDATE) FROM DUAL;Error        Correct:SE ...
Global site tag (gtag.js) - Google Analytics