select * from emp;
#注释#---------------------------#----命令行连接MySql---------#启动mysql服务器net start
mysql#关闭net stop mysql#进入mysql -h 主机地址 -u 用户名 -p 用户密码#退...
分类:
数据库 时间:
2014-04-30 04:24:45
阅读次数:
671
UML diagrams compliment inline documentation
(javadoc) and allow to better explore / understand a design. Moreover, you can
print and bring them to ta...
分类:
编程语言 时间:
2014-04-30 03:48:50
阅读次数:
716
Given preorder and inorder traversal of a tree,
construct the binary tree.Note:You may assume that duplicates do not exist in
the tree.思路:由前序遍历数组和中序遍历...
分类:
其他好文 时间:
2014-04-30 02:20:33
阅读次数:
366
快速失败是指某个线程在迭代集合类的时候,不允许其他线程修改该集合类的内容,这样迭代器迭代出来的结果就会不准确。比如用iterator迭代collection的时候,iterator就是另外起的一个线程,它去迭代collection,如果此时用collection.remove(obj)这个方法修改了...
分类:
其他好文 时间:
2014-04-30 01:47:43
阅读次数:
600
锁类型例子updateselect type,name from
v$lock_type;SQL> create table t(id int primary key);表已创建。SQL> insert into
t values(1);已创建 1 行。SQL> commit;提交完成。SQL> u...
分类:
其他好文 时间:
2014-04-29 22:57:24
阅读次数:
591
我的MYSQL学习心得(三)我的MYSQL学习心得(一)我的MYSQL学习心得(二)查看字段的长度SQLSERVERUSE [sss]GOSELECT
LEN([NAME]) FROM [dbo].[aa]MYSQLCREATE TABLE tmp13(vb VARBINARY(10))INSERT...
分类:
数据库 时间:
2014-04-29 22:17:25
阅读次数:
561
原因是当前的scheduleOnce还没有执行完成,可以将scheduleOnce方法改写成另外一种形式,把CCDelayTime和CCCallFunc拼接构造延迟事件调用:CCDelayTime
* delayAction = CCDelayTime::create(dt); CCCallFun....
分类:
其他好文 时间:
2014-04-29 20:06:01
阅读次数:
1331
参考文档:http://hi.baidu.com/posinfo/item/dc3e73584c535cc9d2e10c27 C++
sort函数用法FROM:http://hi.baidu.com/blackdemonfish/blog/item/e2c1d655d702a45ed0090652....
分类:
编程语言 时间:
2014-04-28 14:22:25
阅读次数:
706
这两天看了好几篇不错的文章,有的时候想把好的文章 down 下来放到 kindle
上看,便写了个爬虫脚本,因为最近都在搞 node,所以就很自然的选择 node
来爬咯~本文地址:http://www.cnblogs.com/hustskyking/p/spider-with-node.html,...
分类:
Web程序 时间:
2014-04-28 12:20:09
阅读次数:
566
这个问题困扰了挺久,网上找了挺多方法 都太好使。分几种情况。1.如果查询结果
转换,那比较容易。var q = from c in db.Customers where c.Country == "UK" || c.Country ==
"USA" select new { ...
分类:
其他好文 时间:
2014-04-28 11:56:12
阅读次数:
620