`
wengzil
  • 浏览: 34734 次
  • 性别: Icon_minigender_1
  • 来自: 南京
社区版块
存档分类
最新评论
文章列表
% #####启动Oracle 10g 输入Y#####% % #####停止Oracle 10g 输入N%   :mode con cols=400 lines=400 color fc   @echo off   :begin1 cls @echo 启动Oracle 10g 输入Y @echo 停止Oracle 10g 输入N set/p flag= if "%flag%"=="Y" ( goto start1 )   if "%flag%"=="y" ( goto sta ...
update a set a.ye=(select b.ye from a, b where b.xmdh=a.xmdh)   MERGE INTO DM_DELIVERYLIST_DETAILS DE USING DM_DELIVERYLIST DM ON (DM.ORDER_NO=DE.ORDER_NO) WHEN MATCHED THEN UPDATE SET DE.TASK_NO=DM.TASK_NO;   注意meger on 后面必须有括号;   方法一: UPDATE DM_DELIVERYLIST DM set DM.ORDER_NO=(SELECT T. ...
package com.tobacco.ermsuite.interfaces.util;   import java.sql.Connection; import java.sql.SQLException;   import org.apache.commons.dbcp.BasicDataSource;   public class ConnectionSource { private static BasicDataSource dataSourceDrp;   /** * 通过数据源获取数据库连接 */ public synchronized static ...
package com.tobacco.ermsuite.interfaces.util;   import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.List;   import org.apache ...
package com.tobacco.ermsuite.interfaces.mail;import javax.mail.Authenticator;import javax.mail.PasswordAuthentication;public class MailAuthenticator extends Authenticator { String userName = null; String password = null; public MailAuthenticator() { } public MailAuthenticator(String username, Strin ...
function valiChk(){ var chk = document.getElementsByName("chk"); var length =chk.length; for(var i=0;i<length;i++){ if(chk[i].checked){ var sql =" select * FROM RM_FACILITY_TYPE t where t.par_type_id ="+chk[i].value;     var result = isUnique(sql);     if(result==0) ...
select t1.* from ( select  row_number() over (partition by subsystem_id order by row_id) rn ,t.* from ad_program t ) t1 where t1.rn=1
1、EL简介 1)语法结构        ${expression} 2)[]与.运算符      EL 提供.和[]两种运算符来存取数据。      当要存取的属性名称中包含一些特殊字符,如.或?等并非字母或数字的符号,就一定要使用 []。 例如:          ${user.My-Name}应当改为${user["My-Name"] }      如果要动态取值时,就可以用[]来做,而.无法做到动态取值。例如:          ${sessionScope.user[data]}中data 是一个变量 3)变量      EL存取变量数据的方法 ...
    在地址栏输入about:config回车     找到browser.cache.check_doc_frequency选项,双击将3改成1 可以设置的值及其含义:     0: Once per session        每个进程一次 每次启动Firefox时检查     1: Each time     每次访问此页时检查     2: Never     不检查     3: When appropriate/automatically     自动
转自:http://blog.163.com/hzd_love/blog/static/131999881201082111852520/ 上线到2003上后发现2个问题: 1 缺少/struts-tags 2 缺少/struts-dojo-tags 在xp上不用直接指定这些文件的位置,但在其他的系统可能无法自动找到它的路径,一定要明确指定 在we ...
select nvl(t.s1,'121') from (select  DECODE('3', '1', '是人大代表') s1 from dual) t decode的缺省值如果不输则默认为null
在D:\apache-tomcat\tomcat-5.0.28\conf\Catalina\localhost 新建new.xml <Context debug="0" docBase="E:\work\works\pne\pne\WebRoot" path="/pne" reloadable="true" URIEncoding="GBK"> <Resource name="jdbc/pne" auth="Container" type ...
一.Oracle数据库中常用的数据类型 varchar2(长度)可变长字符串 char(长度) 定长 number()表示整数或者浮点数number(8) number(8,2) clog 字符的大对象 blog 二进制的大对象 二.数据库查询 1)SELECT语句 从表中提取查询数据.语法为SELECT [DISTINCT] { ...
在web.xml <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:applicationContext.xml</param-value> </context-param> <listener> <listener-class> org.springframework.web.context.ContextLoaderListener </list ...
applicationContest.xml <bean id="sqlMapClient" class="org.springframework.orm.ibatis.SqlMapClientFactoryBean"> <property name="configLocation"> <value>WEB-INF/sqlMapConfig.xml</value> </property> </bean> WEB-INF/sqlMapConfig.x ...
Global site tag (gtag.js) - Google Analytics