1.mybatis判断是否为空或null AND type = #{type} 2.Mybatis中的like查询 今天要做一个模糊查询用的Mybatis开始写的是:select id,bookName,author,publisher,donor,status,createDate...
分类:
数据库 时间:
2016-01-05 22:41:18
阅读次数:
321
#input is a list named legislators, the first two elements looks like this:#[['Bassett', 'Richard', '1745-04-02', 'M', 'sen', 'DE', 'Anti-Administrati...
分类:
其他好文 时间:
2016-01-05 22:16:16
阅读次数:
248
#input is a list named legislators, the first two elements looks like this:#[['Bassett', 'Richard', '1745-04-02', 'M', 'sen', 'DE', 'Anti-Administrati...
分类:
其他好文 时间:
2016-01-05 22:15:09
阅读次数:
213
# Optionally, you could now dump the network weights to a file like this:# np.savez('model.npz', *lasagne.layers.get_all_param_values(network))## And ...
分类:
其他好文 时间:
2016-01-05 15:34:26
阅读次数:
554
慢查询日志功能默认不开启,其记录了执行时间超过参数long_query_time的值(默认是10),且访问的行数超过了参数min_examined_row_limit的值得SQL语句。mysql> show variables like 'long_query_time'\G************...
分类:
数据库 时间:
2016-01-05 12:36:41
阅读次数:
175
Let us understand with an example. Here is what we want to do.1. Display the list of technologies in a table2. Provide the ability to like and dislike...
分类:
Web程序 时间:
2016-01-05 07:01:17
阅读次数:
163
》共享sql:1、统一书写风格2、使用绑定变量》》找出没有共享的SQL语句:在v$sql查找执行次数较小的SQL语句,观察这些SQL语句是否是经常执行的。select SQL_FULLTEXT from v$sql where EXECUTIONS=1 and sql_text like '%fro...
分类:
数据库 时间:
2016-01-05 00:05:11
阅读次数:
222
For building an HTML template with reusable widgets like header, sidebar, footer, etc. Basically the main content is the central DIV which will have i...
分类:
Web程序 时间:
2016-01-04 01:28:22
阅读次数:
199
repalce(str_source,str1,str2)把str_source中str1字符串替换为str2字符串,当str2为null或‘‘时,与下个作用相同replace(str_source,str1)把str_source中的str1字符串剔除regexp_replace(str_source,pattern_str)把str_source中的pattern_str字符串剔除Oracle中like与instr之间..
分类:
其他好文 时间:
2016-01-04 00:12:50
阅读次数:
1068
安装数据库时,设置编码为utf8,但是在控制台插入一个数据时,无法插入含有中文的字段, 通过执行命令:show variables like 'character_set_%'然后,2)在网上搜到一个版本说,通过命令:set names='gbk' 虽然,可以正常插入中文字段,但是,查询的时候,.....
分类:
数据库 时间:
2016-01-03 14:52:54
阅读次数:
171