1、创建Mysql触发器: 语法: CREATE TRIGGER trigger_name
trigger_time trigger_event ON tbl_name FOR EACH ROW BEGIN trigger_stmt //语句块
END; CR...
分类:
数据库 时间:
2014-05-09 10:52:24
阅读次数:
478
依然在看书学习并练习,不过书上的错误真是。。。首先是CClayer,之前恰好写过一个继承于CCSprite的类,实现单点触控随手指移动,重写了begin,moved和end函数,然后在onEnter和onEixt设置和取消了代理。书上的例子直接是以给的HelloWorld,不仅重写了三个函数,还重写...
分类:
移动开发 时间:
2014-05-09 03:19:30
阅读次数:
456
/*
* uva575
* Date:2014/5/7
* State: AC
*/
#include
#include
#include
#include
#include
using namespace std;
const int MAXN=34;
char Arr[MAXN];
int main()
{
//cout << "Hello world!" << end...
分类:
其他好文 时间:
2014-05-09 02:25:56
阅读次数:
269
根据选择的Checkbox动态在表格中列出选择的值
p,div,body,td,input,checkbox,button{font-size:9pt;}
function vbtrim(str)
vbtrim=trim(str)
end function
function vbisnumeric(iVar)
vbisnumeric=not isnumeric(...
分类:
其他好文 时间:
2014-05-09 02:14:35
阅读次数:
319
CREATE PROCEDURE dowhile()
BEGIN
DECLARE n int;
set n=1;
WHILE n
do
INSERT into hasindex(num) VALUES (n);
set n=n+1;
END WHILE;
END;
CALL dowhile();...
分类:
其他好文 时间:
2014-05-09 01:04:44
阅读次数:
293
1 @interface NSString (reverse)2 3 -(NSString *)
reverseString;4 5 @end 1 @implementation NSString (reverse) 2 3 -(NSString *)
reverseString { 4 ...
分类:
其他好文 时间:
2014-05-08 23:54:31
阅读次数:
438
// GuideViewController.h// Created by l.h on
14-5-6.#import @interface GuideViewController : UIViewController@end ////
GuideViewController.m// Cr...
分类:
移动开发 时间:
2014-05-08 18:17:49
阅读次数:
640
上代码String sql = "BEGIN insert into
itil_task_plan (PLAN_CODE) values (?) returning id into ?;
END;";CallableStatement ps = conn.prepareCall(sql);ps......
分类:
数据库 时间:
2014-05-08 11:48:52
阅读次数:
518
1.动态分配的对象的析构函数 1 class man{ 2 public: 3 man(){ 4
cout<<"man begin"<<endl; 5 }; 6 ~man(){ 7 cout<<"man
end"<<endl; 8 } 9 ...
分类:
编程语言 时间:
2014-05-08 09:20:20
阅读次数:
321
转自:http://blog.csdn.net/wanghanjiett/article/details/6931867 几个重要概念: node(节点):
在zigbee堆栈中最多有三种节点:Coordinator(协调器)、Router(路由器)、End Device(终端)。 其中Coordi...
分类:
其他好文 时间:
2014-05-08 06:45:51
阅读次数:
370