随笔-6  评论-21  文章-0  trackbacks-0
SQL
Mysql正则表达式的两个使用      摘要:
update Friendship set friendGroup = trim(leading "2," from friendGroup) where friendGroup REGEXP "^2,([:digit:],)*" ;

update Friendship set friendGroup = replace (friendGroup,',2,',',') where friendGroup REGEXP ",2,([:digit:],)*" ;
  阅读全文
posted @ 2008-09-16 21:33 小咔咔 阅读(385) | 评论 (2)  编辑
解决MySQL不允许从远程访问的方法      摘要:
解决MySQL不允许从远程访问的方法
......  阅读全文
posted @ 2008-09-14 14:17 小咔咔 阅读(540) | 评论 (0)  编辑
mysql插入外键遇到的问题      摘要:
最近使用powerDesigner 设计,生成的mysql脚本在运行的时候不能正常地插入外键,于是想到是数据存储类型地问题. 我的PD默认将类型置为MyISAM,导致外键不能正常插入.
....
  阅读全文
posted @ 2008-09-14 13:14 小咔咔 阅读(1056) | 评论 (0)  编辑