日期:2014-05-18 浏览次数:20548 次
b.nQuantity*(SELECT CAST(STUFF( cPackageDesc,PATINDEX('%[A-Z]%',cPackageDesc),100,'') AS INT) FROM cdcomm WHERE iComm = b.iComm) AS '重量',
PATINDEX('%[^0-9]%',cPackageDesc)
------解决方案--------------------
select patindex('%[^0-9]%','1a1234b0')
------解决方案--------------------
select patindex('%[^0-9]%','1中2a1234b0')