数据库字符串截取

xiaoxiao2026-05-23  13

select substring('042-55019999',charindex('-','042-55019999')+1,(len('042-55019999')-charindex('-','042-55019999'))) select substring(tupian,charindex('/',tupian)+1,(len(tupian)-charindex('-',tupian))) from product where pid=1
转载请注明原文地址: https://www.6miu.com/read-5049262.html

最新回复(0)