mysql
好运不会眷顾傻瓜
这个作者很懒,什么都没留下…
展开
-
excel生成sql语句
用excel写公式导入到数据库 =CONCATENATE("insert into blog (template_subject,email_sn,to_url ,from_url,title,email,cat_id) values ('",A1,"','",B1,"','",C1,"','",D1,"','",E1,"','",F1,"' ,0);")原创 2014-12-26 16:10:45 · 269 阅读 · 0 评论 -
mysql中代替正则替换简单的html标签
UPDATE ecs_article SET art_desc = REPLACE(art_desc, SUBSTRING(art_desc, LOCATE('', art_desc),LOCATE('', art_desc)-LOCATE('', art_desc) + 7),'');原创 2014-12-26 16:13:22 · 715 阅读 · 0 评论