一,有子节点的部门的子节点的排序,调用子存储过程CREATE OR REPLACE PROCEDURE "PRO_INIT_SORT" ASCURSOR cur_department_all IS select * from tbl_department;VAR_COUNT NUMBER ;VAR_...
分类:
数据库 时间:
2014-11-07 18:26:22
阅读次数:
215
数据的增加
1、创建一个SQLite数据的帮助类
SQLiteDatabase db = helper.getWritableDatabase();
2、执行SQL语句,实现数据的增加
db.execSQL("insert into person (name,number) values (?,?)", new Object[] { name, number });
3、关闭数据库
d...
分类:
移动开发 时间:
2014-11-07 16:59:43
阅读次数:
151
上一篇代理服务器的姊妹篇
#include "stdio.h"
#include "stdlib.h"
#include "sys/socket.h"
#include "netinet/in.h"
#include "netinet/tcp.h"
#include "arpa/inet.h"
#include "string.h"
#include
#include ...
分类:
其他好文 时间:
2014-11-07 14:55:15
阅读次数:
312
Oracle可以用SYS_CONNECT_BY_PATH字符串聚合函数:
SELECT LTRIM(MAX(SYS_CONNECT_BY_PATH(productname, ', ')), ', ') AS productname
FROM(
SELECT '1' as id, productname,
ROW_NUMBER() OVER (PARTITION BY '1'...
分类:
数据库 时间:
2014-11-07 14:54:39
阅读次数:
310
更换内核版本原来digilent的内核版本是linux-3.3-digilent更改为3.3.0-xillinux-1.0-rich+参考:http://xillybus.com/xillinux-rich-kernel错误提示:DISAGREES ABOUT VERSION OF SYMBOL M...
分类:
数据库 时间:
2014-11-07 14:24:59
阅读次数:
348
获取制定日期区间declare @d as datedeclare @d2 as dateset @d = '2014-06-03'set @d2 ='2014-06-10'select convert(varchar(10),dateadd(dd,number,@d)) as dt,datead....
分类:
数据库 时间:
2014-11-07 14:23:09
阅读次数:
227
1 class Solution { 2 public: 3 bool isPalindrome(int x) { 4 int r=0,init=x; 5 if(init==0) return true; 6 if(init<0) ...
分类:
其他好文 时间:
2014-11-07 14:21:40
阅读次数:
162
When it comes to Hadoop distributions, enterprises care about a number of things. Among them are high performance, high availability, and API compatibility. MapR, a San Jose, Calif.-based start-up,...
分类:
其他好文 时间:
2014-11-07 11:29:06
阅读次数:
135
这个过程是这样的。有一个遗留的项目需要做一些修改,那么我就从TFS上把这个项目下载下来,用VisualStudio打开。编译时没有发现错误,直接运行。可是运行时就抛出了异常。
Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' o...
分类:
其他好文 时间:
2014-11-07 11:14:53
阅读次数:
187