码迷,mamicode.com
首页 >  
搜索关键字:like    ( 7615个结果
MySQL 通配符学习总结
MySQL 通配符SQL您同意使用模式匹配“_”无论单个字符相匹配,和“%”匹配随意数目字符(包含零个字符)。在 MySQL中。SQL的模式缺省是忽略大写和小写的。以下显示一些样例。注意在你使用SQL模式时。你不能使用=或!=;而使用LIKE或NOT LIKE比較操作符。为了找出以“b”开头的名字:...
分类:数据库   时间:2015-06-16 14:29:48    阅读次数:156
MySQL按照汉字拼音字母排序
如果MySQL编码格式为GBK字符集,可直接在查询语句后面添加 order by name asc; --进行升序排序 如果是utf8字符集,需要在排序的时候对字段进行转码, order by convert(name using gbk) asc; 附:查看MySQL编码方式 SHOW VARIABLES LIKE 'character%';...
分类:数据库   时间:2015-06-16 00:01:49    阅读次数:379
分区表(二)
alter table scales add partition (partition p2 values less than (2015));alter table log drop partition p0;show variables like '%partition%';alter table user reorganize partition p0,p1,p2 into (partitio...
分类:其他好文   时间:2015-06-15 23:54:48    阅读次数:184
ibatis 参数之模糊查询
因项目需要最近使用ibatis,在使用查询语句的时候,想着通用性所以没有在配置文件里用N多的and 语句,而是如下:View Code页面上如此调用: String conditional=" user_no like concat('%', 'q', '%')"; in...
分类:其他好文   时间:2015-06-15 23:44:53    阅读次数:242
Principle of Computing (Python)学习笔记(5) BFS Searching + Zombie Apocalypse
1 Generators Generator和list comprehension非常类似Generators are a kind of iterator that are defined like functions.http://www.codeskulptor.org/#examples_g...
分类:编程语言   时间:2015-06-15 13:02:00    阅读次数:180
<一> Linux是什么
1.     Linux其实就是一个操作系统最底层的核心及其提供的核心工具。他是GNU GPL授权模式,所以,任何人均可取得原始码与可执行这个核心秳序,并且可以修改。此外,因为 Linux参考 POSIX设计规范,于是兼容于Unix操作系统,敀亦可称之为Unix Like的一种。 2.     Unix的历史: ①1965年,Bell,MIT与GE共同发起了Multics的计划,但在1969年...
分类:系统相关   时间:2015-06-15 09:15:56    阅读次数:156
Leetcode 17 Letter Combinations of a Phone Number
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:其他好文   时间:2015-06-14 21:13:20    阅读次数:125
一个奇怪的透明遮罩问题
I make some code like set2D on sprite3d to make sprite3d show on ui.``` if (_b2D == true) { flags &= ~FLAGS_RENDER_AS_3D; }```and``` if (_b2D ==...
分类:其他好文   时间:2015-06-14 18:12:31    阅读次数:144
5. 存储引擎
1. 存储引擎(表类型) 查看当前的默认存储引擎: show variables like '%engine%'; 查看支持的存储引擎: show engines; 修改表的存储引擎: alter table t1 engine = innodb; [mysqld] default_storage_...
分类:其他好文   时间:2015-06-14 10:53:39    阅读次数:104
LearnPythonTheHardWay(1)
主要是简单的学习一下输出Hello world。跟了解 print 的用法,及#的作用#放在开头可以定义编码,如 #coding:gbk 指定编码为gbk#放在python代码中可以作为注释print "Hello world!"print "Hello Again"print "I like ty...
分类:编程语言   时间:2015-06-13 18:23:41    阅读次数:154
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!