码迷,mamicode.com
首页 >  
搜索关键字:student    ( 6827个结果
oracle动态sql
执行动态sql的语法为: Excute immediate 动态SQL语句 using 绑定参数列表 returning into 输出参数列表   测试表:表:student(id,name,age); 例子:存储 create or replace procedure p_stu_info(s_id number) is v_name varchar2(10); v_ag...
分类:数据库   时间:2014-11-24 20:56:58    阅读次数:230
[OC Foundation框架 - 11] NSMutableDictionary
1 void dicUse() 2 { 3 NSMutableDictionary *dic = [NSMutableDictionary dictionary]; 4 Student *stu1 = [Student studentWithName:@"Simon"]; 5 ...
分类:其他好文   时间:2014-11-24 20:30:27    阅读次数:170
[OC Foundation框架 - 16] NSObject和反射
1.判断某个对象是否属于一个类1 Student *stu = [[[Student alloc] init] autorelease];2 BOOL result= [stu isKindOfClass:[Person class]];3 NSLog...
分类:其他好文   时间:2014-11-24 20:29:59    阅读次数:177
[Objective-c 基础 - 2.1] 封装
A.封装内部细节,根据需求暴露方法 1 #import 2 3 @interface Student : NSObject 4 { 5 int age; 6 } 7 8 - (void) setAge:(int) newAge; 9 - (int) age;10 11 - (void)...
分类:其他好文   时间:2014-11-24 20:27:58    阅读次数:180
[Objective-c 基础 - 2.6] @property和@synthesize
Xcode编译器的特性,自动生成getter和setterA.@property自动生成某个成员变量的getter和setter的声明变量的命名要求:以下划线开头 1 2 Student.h 3 @interface Student : NSObject 4 { 5 int _age; ...
分类:其他好文   时间:2014-11-24 20:26:30    阅读次数:227
Javascript基础系列之(三)数据类型 (类型转化)
所有语言都有类型转化的能力,javascript也不例外,它也为开发者提供了大量的类型转化访法,通过全局函数,可以实现更为复杂的数据类型。var a = 3;var b = a + 3;var c = "student" + a;var d = a.toString();var e = a + ""...
分类:编程语言   时间:2014-11-24 18:42:16    阅读次数:134
数据库sqlite的使用
#import @class student;@interface DataBaseHandle : NSObject//设置单例+(DataBaseHandle *)shareDB;//获取沙盒document路径-(NSString *)documentPath;//打开数据库-(void)op...
分类:数据库   时间:2014-11-23 18:43:11    阅读次数:290
2014/11/23 条件查询
一、条件查询:select * from student where code>2 为单一条件查询。可以用逻辑运算符 or 连接两个附加条件,即select * from student where code>2or name=‘小明'。表示或者。相对应的为 and。二、SQL的各种运算符运算符:+...
分类:其他好文   时间:2014-11-23 17:14:11    阅读次数:167
查询语句
查询语句select*fromstudentwherexuhao=1查询student表中xuhao一列中为1号的select*fromstudentwherexuhao3查询student表中xuhao一列中学号小于5并且小于3的运算符:数学运算符:+-*/%复制运算法:=比较运算符:>=!=!=...
分类:其他好文   时间:2014-11-23 17:13:22    阅读次数:155
数据库查询
select *From student where name='张三' --selece(选择、挑选)*from(来自)stdent(表名)where(在...地方)name(名字=张三)or 逻辑运算符,和、或者并且 and 取余数 % 赋值运算符 =比较运算符 >=、 =!、=判断是不是等于并...
分类:数据库   时间:2014-11-23 15:57:32    阅读次数:236
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!