摘要:
oracle中清空表数据的两种方法 1、delete from t 2 、truncate table t 区别: 1、delete是dml操作;truncate是ddl操作,ddl隐式提交不能回滚 2、delete from t可以回滚,truncate table t 不可以回滚 3、 trun 阅读全文
posted @ 2016-05-13 14:55
PKICA
阅读(541)
评论(0)
推荐(0)
摘要:
数组指针和指针数组的区别 数组指针(也称行指针) 定义 int (*p)[n]; ()优先级高,首先说明p是一个指针,指向一个整型的一维数组,这个一维数组的长度是n,也可以说是p的步长。也就是说执行p+1时,p要跨过n个整型数据的长度。 如要将二维数组赋给一指针,应这样赋值: int a[3][4] 阅读全文
posted @ 2016-05-12 11:43
PKICA
阅读(240)
评论(0)
推荐(0)
摘要:
修改CS,IP指令 阅读全文
posted @ 2016-05-08 21:33
PKICA
阅读(416)
评论(0)
推荐(0)
摘要:
本文转载 http://www.cnblogs.com/chengmo/archive/2010/10/14/1851570.html ,感谢作者! shell可以在不调用第3方命令,表示不同进制数据。这里总结以下表示方法。shell 脚本默认数值是由10 进制数处理,除非这个数字某种特殊的标记法或 阅读全文
posted @ 2016-05-08 11:17
PKICA
阅读(2285)
评论(0)
推荐(0)
摘要:
1、find中的-exec参数 在当前目录下(包含子目录),查找所有txt文件并找出含有字符串"bin"的行 find ./ -name "*.txt" -exec grep "bin" {} \; 在当前目录下(包含子目录),删除所有txt文件 find ./ -name "*.txt" -exe 阅读全文
posted @ 2016-05-08 10:53
PKICA
阅读(22494)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "com_time.h" #include "com_func.h" /* * Definition of leap year: Rule 1: A year is 阅读全文
posted @ 2016-05-02 17:24
PKICA
阅读(277)
评论(0)
推荐(0)
浙公网安备 33010602011771号