代码大全
重构:改善既有代码的设计
重构与模式
修改代码的艺术
实现模式
深入浅出设计模式(First head)
企业应用架构模式
分析模式*
代码整洁之道*
编程珠玑*
程序员的职业素养*
别闹了,费曼先生!*
测试驱动开发TDD*
验收测试开发ATDD*
Cucumber:行为驱动开发指南BDD*
设计原本:计算机科学巨匠Frederic...
分类:
其他好文 时间:
2014-05-07 06:17:20
阅读次数:
360
这几天搞了一下Oracle数据库,可能用sql server习惯了,感觉好不方便。PL的界面友好度比sql server差远了 ,既然都收购了PL了
为什么不给它做好一点呢?各种不便。郁闷
向Oracle服务器插入一条数据
--不管什么格式通通用''引号引起来。不过INTEGER格式的还是别用引号
insert into T_SITE VALUES(
8, --注意主键别与表里的其他主键冲...
分类:
数据库 时间:
2014-05-07 03:24:59
阅读次数:
319
Problem DescriptionThe expression N!, read as
"N factorial," denotes the product of the first N positive integers, where N is
nonnegative. So, for exa...
分类:
其他好文 时间:
2014-05-07 00:11:55
阅读次数:
353
1,克隆表(创建一个恰好与某个已有表结构一致的表) create table …
like克隆表结构;使用insert into … select语句克隆部分或者全部表数据 2,将查询结果保存到表中 a,使用insert
into...select将语句查询结果插入表中,若表不存在需要使用creat...
分类:
数据库 时间:
2014-05-07 00:09:54
阅读次数:
503
Chef develops his own computer program for playing chess. He is at the very beginning. At first he needs to write the module that will receive moves written by the players and analyze it. The module w...
分类:
其他好文 时间:
2014-05-06 23:11:26
阅读次数:
497
网上找到http://blog.csdn.net/heihuifeng/article/details/6561615这篇文章 ,插入的字符串需加引号',
[_db
executeUpdate:[NSString
stringWithFormat:@"INSERT INTO %@ (name,img,date,isCome,msg_type,message,isNew,sendFla...
分类:
数据库 时间:
2014-05-06 22:13:22
阅读次数:
611
一、字符串函数
(1)、计算字符串个数
语法:char_length(string)
例子:selectchar_length(user_name)fromgonda;
(2)、计算字节长度
语法:length(string)
例子:selectlength(name)fromstudent;
(3)、合并字符串函数
语法:concat(s1,s2)默认不定义分割符号
举例:selectconca..
分类:
数据库 时间:
2014-05-06 20:31:36
阅读次数:
376
(1)、数据插入insert
语法:insertinto表名(字段名称1,字段名称2,n,)values(‘值1‘,‘值2‘,‘值3‘)
举例说明:
createtablegonda(
user_idint,
user_namevarchar(15),
oldint,
addressvarchar(50));
标准数据插入:
insertintogonda(user_id,user_name,old,address)
values(‘11..
分类:
数据库 时间:
2014-05-06 20:20:43
阅读次数:
362
For a given positive integer n, please find the smallest positive integer x that we can find an integer y such that y^2 = n +x^2.
Input
The first line is an integer T, which is the the...
分类:
其他好文 时间:
2014-05-06 19:21:10
阅读次数:
290
以我的经验,大部分技术,熟读下列四类书籍即可。
入门,用浅显的语言和方式讲述正确的道理和方法,如head first系列全面,巨细无遗地探讨每个细节,遇到疑难问题时往往可以在这里得到理论解答,如Definitive Guide/Programming xx系列实践,结合实际中经常遇到的情景环境,来描述如何设计和解决问题,如cookbook系列深入,讲解一些文化,思路,甚至于哲学上的东西,真...
分类:
编程语言 时间:
2014-05-06 14:50:51
阅读次数:
559