摘要: function get_access_token() { $key = 'access_token'; $access_token = Session::get($key); if (!empty($access_token) && $access... 阅读全文
posted @ 2015-12-29 09:09 jerry1209 阅读(161) 评论(0) 推荐(0) 编辑
摘要: --dual伪表 --操作与任何表无关时Oracle提供了dual表,数据库提供的,满足SQL99标准要求/*例子 使用 || 连接字符串*/select 'hello'||' world' 字符串 from dual;字符串------------hello world 阅读全文
posted @ 2015-02-07 11:18 jerry1209 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 1. 包含null的表达式都为null2. null永远!= null select * from emp where comm=null // error select * from emp where comm is null 3. nvl(filedName,0) // 如果为空... 阅读全文
posted @ 2015-02-07 11:01 jerry1209 阅读(125) 评论(0) 推荐(0) 编辑
摘要: // 九宫格 #import "ViewController.h"@interface ViewController ()@property (nonatomic ,strong) NSArray *apps;@end@implementation ViewController- (void)vie... 阅读全文
posted @ 2015-02-04 17:16 jerry1209 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 第一步:在storyboard添加UIWebView 第二步: 连线 第三步: @implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; // 定位资源 NSURL *url = [NS... 阅读全文
posted @ 2015-02-02 19:34 jerry1209 阅读(124) 评论(0) 推荐(0) 编辑
摘要: // Tigger 1.概念 触发器(trigger)是SQL server 提供给程序员和数据分析员来保证数据完整性的一种方法,它是与表事件相关的特殊的存储过程,它的执行不是由程序调用,也不是手工启动,而是由事件来触发,比如当对一个表进行操作( insert,delete, update)时... 阅读全文
posted @ 2015-01-23 13:41 jerry1209 阅读(316) 评论(0) 推荐(0) 编辑
摘要: // 重写 init方法当对象创建时我们通常想给对象给一定固定值,那么这时可以重写init// People类 1 #import 2 // 性别 3 typedef enum { 4 SexMan, 5 SexWoman, 6 } Sex; 7 8 @interface Peo... 阅读全文
posted @ 2015-01-23 01:49 jerry1209 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 1. 谁 alloc ,谁 release;2. 谁要占用谁retain;3. 谁不想占用对象时就 让对象计数器release;4.谁 retain,谁release; 1 // Book类 2 @interface Book:NSObject 3 4 { 5 6 int _pric... 阅读全文
posted @ 2015-01-23 01:31 jerry1209 阅读(118) 评论(0) 推荐(0) 编辑
摘要: /** Retrun Type : string Argument Name as_tj[] */long count,istring ls_filtercount=upperbound(as_tj)if count'' and not is... 阅读全文
posted @ 2015-01-22 20:56 jerry1209 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1 > 添加时去重 ,数量汇总long ll_rowcount,i,ll_find,ll_newrowstring ls_spdmdec ld_slll_rowcount=dw_1.rowcount()for i=1 to ll_rowcount ls_spdm=dw_1.object.sp... 阅读全文
posted @ 2015-01-22 20:42 jerry1209 阅读(152) 评论(0) 推荐(0) 编辑