日常潜水-20160814-MySQL

    xiaoxiao2025-05-07  14

    MySQL / SQL 删除最后一个字段

    update table set field = left(field, char_length(field)-1) where right(field,1) = ‘xx’;update table set field = left(field, len(field)-1) where right(field,1) = ‘xx’;
    转载请注明原文地址: https://ju.6miu.com/read-1298838.html
    最新回复(0)