码迷,mamicode.com
首页 >  
搜索关键字:null    ( 33914个结果)
mysql alter example
alter table `user_movement_log` Add column GatewayId int not null default 0 AFTER `Regionid` (在哪个字段后面添加) alter table x_connection add `FEX-N752` varch...
分类:数据库   时间:2015-05-16 16:24:04    阅读次数:200
复杂链表的复制
有一个复杂链表,其结点除了有一个m_pNext指针指向下一个结点外,还有一个m_pSibling指向链表中的任一结点或者NULL。其结点的C++定义如下:struct ListNode{ int value; ListNode *next; ListNode *sibling; ...
分类:其他好文   时间:2015-05-16 16:21:09    阅读次数:122
MySQL索引类型一览 让MySQL高效运行起来
索引是快速搜索的关键。MySQL索引的建立对于MySQL的高效运行是很重要的。下面介绍几种常见的MySQL索引类型。 在数据库表中,对字段建立索引可以大大提高查询速度。假如我们创建了一个 mytable表: CREATE TABLE mytable(   ID INT NOT NULL,    username VARCHAR(16) NOT NULL  );   我们随机向里面插入了...
分类:数据库   时间:2015-05-16 14:58:57    阅读次数:126
MySQL索引和优化查询
恰当的索引可以加快查询速度,可以分为四种类型:主键、唯一索引、全文索引、普通索引。 主键:唯一且没有null值。 create table pk_test(f1 int not null,primary key(f1)); alter table customer modify id int not null, add primary key(id); 普通索引:允许重复的...
分类:数据库   时间:2015-05-16 14:55:22    阅读次数:225
HashMap,HashTable,HashSet
1,HashMap ????(1)public class HashMap extends AbstractMap implements?Map{} ????(2)key允许且只有一个可以为null,value 可以有多个null ????(3)非线程安全,但是可以通过 Collection.s...
分类:其他好文   时间:2015-05-16 13:30:02    阅读次数:97
【算法设计-二叉搜索树】二叉查找树的操作与实现
二叉查找树某个结点的左子树的值都比它小,其右子树的值比它大。 要实现的主要操作 代码实现 #include   using namespace std; // BST的结点   typedef struct node { int key; struct node *lChild, *rChild,*parent; }Node, *BST; BST lvis=NULL...
分类:编程语言   时间:2015-05-16 12:03:00    阅读次数:202
json字符串中包含"\"时,如何解析这个json字符串
/// /// 处理json字符串中的特殊字符 /// /// /// public static String StringDanYinToJSON(String ors) { ors = ors == null ? "" : ors; StringBuilder buffer = ne...
分类:Web程序   时间:2015-05-16 11:43:47    阅读次数:243
【BZOJ】2333: [SCOI2011]棘手的操作
http://www.lydsy.com/JudgeOnline/problem.php?id=2333#include using namespace std;const int N=300015, Lim=N;struct node *null;struct node { node *c[2],...
分类:其他好文   时间:2015-05-16 11:43:06    阅读次数:150
sql 服务器链接远程 sql 服务器 脚本
exec sp_droplinkedsrvlogin 'test',null exec sp_dropserver 'test'exec sp_addlinkedserver@server='Test',@srvproduct='',@provider='SQLOLEDB',@datasrc='12...
分类:数据库   时间:2015-05-16 10:26:04    阅读次数:129
Attribute name "aphmodel" associated with an element type "mxg" must be followed by the ' = ' charac
1、错误描述 org.apache.batik.transcoder.TranscoderException: null Enclosed Exception: Attribute name "aphmodel" associated with an element type "mxg" must be followed by the ' = ' character. at org.apach...
分类:其他好文   时间:2015-05-15 22:52:26    阅读次数:587
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!