(本文仅供自己笔记查看用)新建database并导入数据:mysql> CREATE DATABASE IF NOT EXISTS site_facelook CHARSET utf8 COLLATE utf8_general_ci;mysql> use site_facelook;mysql> s...
分类:
数据库 时间:
2014-09-01 12:04:32
阅读次数:
190
在java网络编程Socket通信中,通常会遇到以下异常情况: 第1个异常是 java.net.BindException:Address already in use: JVM_Bind。 该异常发生在服务器端进行new ServerSocket(port)(port是一个0,65536的整...
分类:
编程语言 时间:
2014-08-31 16:59:51
阅读次数:
236
declare @name varchar(200)while(exists(select * from sysobjects where name like '表名前缀%'))beginselect @name=name from sysobjects where name like '表名前缀%...
分类:
数据库 时间:
2014-08-30 13:46:59
阅读次数:
221
jboss 6.2 EAP上 DuplicateServiceException错误的解决办法
分类:
Web程序 时间:
2014-08-30 12:36:59
阅读次数:
406
The OleVariant type exists on both the Windows and Linux platforms. The main difference between Variant and OleVariant is that Variant can contain dat...
分类:
其他好文 时间:
2014-08-29 17:53:58
阅读次数:
201
有两个简单例子,以说明 “exists”和“in”的效率问题1)select * from T1 where exists(select 1 from T2 where T1.a=T2.a) ;T1数据量小而T2数据量非常大时,T1>T2 时,2) 的查询效率高。exists 用法:请注意 1)句中...
分类:
数据库 时间:
2014-08-29 17:51:38
阅读次数:
231
1.Error, some other host already uses address事件: 今天帮客户重装完系统后,刚开始网络是正常的,IP是在安装的过程中配置好。但修改ifcfg-eth0文件后重启网络服务时,就出现"Error, some other host already uses a...
分类:
系统相关 时间:
2014-08-29 09:26:07
阅读次数:
190
The GPG keys listed for the "Extra Packages for Enterprise Linux 5 - x86_64" repository are already installed but they are not correct for this packag...
分类:
其他好文 时间:
2014-08-28 19:46:05
阅读次数:
503
A natural thought is brutal-force. But as you may have already thought of, there must be a smarter one. And yes there is.Think like this: XOR gives yo...
分类:
其他好文 时间:
2014-08-28 13:16:19
阅读次数:
832