参考百度oracle正则表达式--数字开头的select * from tmp where regexp_like(str,'^[0-9]');--从头到位都是数字select * from tmp where regexp_like(str,'^[0-9]+$')--字段中是数字或者是字母组成se...
分类:
数据库 时间:
2015-12-14 16:07:34
阅读次数:
326
你是否好奇标识浏览器身份的User-Agent,为什么每个浏览器都有Mozilla字样?Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537....
分类:
其他好文 时间:
2015-12-13 18:48:18
阅读次数:
363
JSV Text Format (JSON + CSV)Type Serializer uses a hybrid CSV-style escaping + JavaScript-like text-based format that is optimized for both size and s...
分类:
Web程序 时间:
2015-12-11 22:24:27
阅读次数:
336
//查看慢查询设置show variables like 'slow%';show variables like 'long%';//修改全局配置文件vi /etc/my.cnfslow_query_log_file=/mnt/data/mysql/slow_query.loglong_query_...
分类:
数据库 时间:
2015-12-10 19:06:49
阅读次数:
179
Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as dog’s , cow’s...
分类:
其他好文 时间:
2015-12-10 18:37:43
阅读次数:
195
SELECT'-100' FROMdualWHEREREGEXP_LIKE('-100','(^[+-]?\d{0,}\.?\d{0,}$)');REGEXP_LIKE 用法:转]oracle 10g正则表达式 REGEXP_LIKE 用法2010年01月13日 星期三 14:29出处见文章底部。/...
分类:
数据库 时间:
2015-12-10 16:36:06
阅读次数:
307
下面介绍mysql中模糊查询的四种用法: 1,%:表示任意0个或多个字符。可匹配任意类型和长度的字符,有些情况下若是中文,请使用两个百分号(%%)表示。 比如 SELECT * FROM [user] WHERE u_name LIKE '%三%' 将会把u_name为“张三”,“张猫三”、“三脚猫...
分类:
数据库 时间:
2015-12-10 16:30:58
阅读次数:
209
MyISAM to InnoDBALTER TABLEboblog_blogs ENGINE=InnoDB;ALTER TABLEboblog_calendarENGINE=InnoDB;max connectionsshow global variables like "%max_con%";se...
分类:
数据库 时间:
2015-12-10 13:06:35
阅读次数:
188
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-12-07 00:26:22
阅读次数:
152
Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads. There were many colorful strings of b...
分类:
其他好文 时间:
2015-12-06 12:53:54
阅读次数:
161