`
文章列表
   ThreadLocal 可以理解成 Current Thread Context 或 Current Thread Local Variable。 http://www.appneta.com/blog/introduction-to-javas-threadlocal-storage/ http://javarevisited.blogspot.com/2012/05/how-to-use-threadlocal-in-java-benefits.html引用ThreadLocal in Java is another way to achieve thread-safety apa ...
   Ubuntu 12.04 下安装配置 JDK: http://www.wikihow.com/Install-Oracle-Java-JDK-on-Ubuntu-Linux http://blog.csdn.net/yang_hui1986527/article/details/6677450引用~/.bashrc 中: #JDK export JAVA_HOME=/home/lee/Dev/jdk/jdk1.7.0_07 export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME ...
类:一类对象的模板 对象:类的一个具体实例 面向对象的三个基本特征是:封装、继承、多态。 继承: http://docs.oracle.com/javase/tutorial/java/IandI/subclasses.html A subclass inherits all the members (fields, methods, and nested classes) from its superclass. Constructors are not members, so they are not inherited by subclasses, but the construc ...
Oracle® Database SQL Reference 10g Release 2 (10.2) -> ROWNUM Pseudocolumn: http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/pseudocolumns009.htm引用For each row returned by a query, the ROWNUM pseudocolumn returns a number indicating the order in which Oracle selects the row from a ta ...
SQL Server 2000/2005 分页SQL: http://www.cnblogs.com/anjou/archive/2007/10/17/926944.html 其他文章: 使用2005的row_number() 函数做分页: http://www.ljnid.cn/?id=145 SQL Server 存储过程的分页方案比拼: http://blog.csdn.net/lihonggen0/archive/2004/09/14/103511.aspx
/** * 计算指定的字符串中出现某一字符串的次数 * @author lixg * */ public class AccountString { public static void main(String[] args) { String str = new String("rrjavastingjavaabstractjavasunioexcptionjavayy"); String toFindString = "java"; int count = 0; // System.out.print ...
java.sql.SQLException: I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system property. at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:611) at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:331) at net.sourceforge.jtds.jdb ...
用户表中sex字段,1表示男,0表示女。要实现图一效果。 分别用decode和case when then else end实现,如图二。
http://blog.chinaunix.net/u2/73123/showart_1357755.html
http://www.itpub.net/viewthread.php?tid=1017026
Oracle中decode函数用法 http://blog.csdn.net/one132/archive/2009/07/06/4325165.aspx
SQL中的case when...then...else...end举例: 比较2列的值选择最大的一列输出: table a (   no1 number,   no2 number ) SELECT a.no1,a.no2, ( CASE WHEN a.no1 < a.no2 THEN a.no2 ELSE a.no1 END ) AS MaxNumber ...
MS Sql server 表复制: http://blog.csdn.net/feng19821209/archive/2006/06/08/779356.aspx
在使用sqlserver数据库做一次性删除大量同数据(几万条)的时候抛出异常如下: 消息 9002,级别 17,状态 4,第 1 行 数据库 'lylearnnet_syn' 的事务日志已满。若要查明无法重用日志中的空间的原因,请参阅 sys.databases 中的 log_reuse_wait_desc 列。 对库lylearnnet_syn的日志执行清空(DUMP TRANSACTION lylearnnet_syn WITH NO_LOG)或截断(BACKUP LOG lylearnnet_syn WITH NO_LOG)操作后该问题依然存在。 翻阅了一些资料总结了解决的办 ...
漫谈SQL Server中的标识列 http://blog.csdn.net/jhlxge/archive/2008/07/31/2742969.aspx SQL SERVER 中identity用法: 在数据库中, 常用的一个流水编号通常会使用 identity 栏位来进行设置, 这种编号的好处是一定不会重覆, 而且一定是唯一的, 这对table ...
Global site tag (gtag.js) - Google Analytics