update phome_eCMS_news_data_1 set infotags=left(infotags,char_length(infotags)-1) where right(infotags,1)=’,’;
以上语句意义:查询phome_ecms_news_data_1这个表的infotags字段,如果最后一个字符是逗号删除最后一个字符。
MYsql语句 去掉字段最后一个符号的方法.doc
感谢您的来访,获取更多精彩文章请收藏本站。
© 版权声明
THE END

















暂无评论内容