select 10 + 10 + 10 from dual结果是30,全然没问题。select
null + 10 + 10 from dual结果是空串,但期望的结果是20。select nvl(null,0) + 10 + 10 from
dual这样处理结果为20。若查询有空值的情况需利用nv...
分类:
数据库 时间:
2014-06-12 00:42:16
阅读次数:
393
//发送通知UILocalNotification*notification=[[UILocalNotificationalloc]init];if(notification!=nil){NSDate*now=[NSDatenew];notification.fireDate=[nowdateByA...
分类:
移动开发 时间:
2014-06-11 22:49:44
阅读次数:
373
建表:drop table if exists
terminal_parameter;CREATE TABLE `terminal_parameter` ( `terminal_parameter_id`
int(11) NOT NULL AUTO_INCREMENT, .................
分类:
数据库 时间:
2014-06-11 22:11:36
阅读次数:
542
JavaScript对类型错误出奇的宽容 3 + true; // 4 null + 3; // 3
## 运算符+(加号)的重载运算符+既重载了数字相加,又重载了字符串连接操作。具体是数字相加还是字符串连接,取决于其参数的类型 2 + 3; ...
分类:
Web程序 时间:
2014-06-11 12:20:34
阅读次数:
285
测试表news表,数据量大小为150w左右,测试步骤如下1.创建第一张表news1, nsid
=750000的数据保存在news4;CREATE TABLE `news4` ( `NSID` int(11) NOT NULL, `NewsName`
varchar(100) NOT NULL, `...
分类:
数据库 时间:
2014-06-11 11:41:13
阅读次数:
436
/** * 得到汉字字库的集合 * @return */ public static Map
getChinaWordStorage() { BufferedReader bu=null; try { Map ma...
分类:
其他好文 时间:
2014-06-11 11:39:12
阅读次数:
265
/** * 得到属性文件信息 * * @param key * @return */ public
static String getPropertiesByKey(String key) { InputStream in=null; ...
分类:
其他好文 时间:
2014-06-11 11:38:39
阅读次数:
215
//get 发送短信 public static String send_sms(String
mobile_phone, String msg) { String ret_str = ""; BufferedReader rd=null; try
{...
分类:
其他好文 时间:
2014-06-11 11:31:29
阅读次数:
216
/** * 查询短信的短信剩余条数 * @return */ public static String
getSmsCount() { String ret_str = ""; BufferedReader rd=null; t...
分类:
其他好文 时间:
2014-06-11 11:24:42
阅读次数:
359