码迷,mamicode.com
首页 >  
搜索关键字:nil null    ( 36455个结果
机房收费系统vb.net之打包与部署(二)
紧接着上篇博客的...
分类:Web程序   时间:2014-06-20 12:26:26    阅读次数:206
Oracle中空值与数字相加问题
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
IOS 本地通知UILocalNotification
//发送通知UILocalNotification*notification=[[UILocalNotificationalloc]init];if(notification!=nil){NSDate*now=[NSDatenew];notification.fireDate=[nowdateByA...
分类:移动开发   时间:2014-06-11 22:49:44    阅读次数:373
Mysql 存储过程+定时任务,完成分区自动维护
建表: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
JS当心隐式的强制转换
JavaScript对类型错误出奇的宽容 3 + true; // 4 null + 3; // 3 ## 运算符+(加号)的重载运算符+既重载了数字相加,又重载了字符串连接操作。具体是数字相加还是字符串连接,取决于其参数的类型 2 + 3; ...
分类:Web程序   时间:2014-06-11 12:20:34    阅读次数:285
Mysql Merge 引擎分表方式
测试表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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!