Good morning, my name is Li Huan. It’s really a great honor to have this opportunity for a interview. I hope I can make a good performance today. Now ...
分类:
其他好文 时间:
2014-07-07 12:11:36
阅读次数:
194
1,MySQL建库语句比较简单,一句话:1 create database tppamltest32,创建用户及授权:1 insert into mysql.user(Host,User,Password,ssl_cipher,x509_issuer,x509_subject) values("lo...
分类:
数据库 时间:
2014-07-07 09:02:47
阅读次数:
295
row_number() OVER (PARTITION BY COL1 ORDER BY COL2)
--表示根据COL1分组,在分组内部根据 COL2排序,而此函数返回的值就表示每组内部排序后的顺序编号(组内连续的唯一的)
例子一: create table student (id int ,classes int ,score int);
insert into student val...
分类:
其他好文 时间:
2014-07-03 18:33:50
阅读次数:
213
今天在使用ci框架,需要向mysql数据表插入数据,其中的一个字段包含汉字、字母,可是用传统的使用sql语句:insert into XXX这种方式,无论如何都插入不成功,最后我换了另一种方式:
$data = array(
'fault_id' => $fault_id
);
return $this->db->insert('faulthandle', $data);这种方式就可以!...
分类:
数据库 时间:
2014-07-03 18:32:34
阅读次数:
241
搜索树数据结构支持许多动态集合操作,如search(查找)、minmum(最小元素)、maxmum(最大元素)、predecessor(前驱)、successor(后继)、insert(插入)、delete(删除),这些都是基本操作,可以使用一颗搜索树当做一个字典或者一个优先队列。
12.1、什么事二叉搜索树
二叉搜索树是以一棵二叉树来组织的,可以用一个链表数据结构来表示,也叫二叉...
分类:
其他好文 时间:
2014-07-03 18:02:21
阅读次数:
231
第2部分 数据库SQL语言数据操纵语言(DML) 数据操纵语言(Data Manipulation Language,DML)包括insert、delete和update语句,用于增、删、改数据。 本文用以下的表tb_employeeinfo作为例子加以说明:create table tb_employeeinfo( employeeno var...
分类:
其他好文 时间:
2014-07-03 17:06:57
阅读次数:
229
Java层的Binder对象模型:
IBinder
IBinder是Binder通信机制中的核心部分(Base interface for a remotable object, the core part of a lightweight remote procedure call mechanism designed for high performance when pe...
分类:
其他好文 时间:
2014-07-03 16:46:20
阅读次数:
204
1. [代码]首先是借口定义 * @author xzfpublic interface MyDeque { * insert the specified element at the front of this deque if it is possible * to do so...
分类:
其他好文 时间:
2014-07-02 17:07:48
阅读次数:
237
insertintoproducts(prod_id,prod_name,pro_price)values(‘avno1‘,‘.5tonanvil‘,5.99);insertintoproducts(prod_id,prod_name,pro_price)values(‘avno2‘,‘1tonanvil‘,9.99);insertintoproducts(prod_id,prod_name,pro_price)values(‘avno3‘,‘2tonanvil‘,14.99);insertintoprodu..
分类:
数据库 时间:
2014-07-02 10:56:20
阅读次数:
216
测试参数:sysbench--test=/root/sysbench0.5/sysbench/tests/db/insert.lua
--mysql-table-engine=innodb--oltp-table-size=1000000
--max-requests=0--max-time=300--num-threads=16
--oltp-tables-count=10--report-interval=10
--mysql-host=10.8.8.100--mysql-port=3312--..
分类:
数据库 时间:
2014-07-02 06:44:36
阅读次数:
280