我有以下内容:
SELECT DISTINCT
Left(GIFTHEADER.pID + GIFTHEADER.PID + '-' + Cast(PAYMENTDETAIL.PLINENO as Varchar),18)
AS TRANSACTIONREF...
目前我的价值是这样的:
ABC0005953ABC0005953
我想简单地从 GIFTHEADER.pID 中去掉前 4 个字符
我有以下内容:
SELECT DISTINCT
Left(GIFTHEADER.pID + GIFTHEADER.PID + '-' + Cast(PAYMENTDETAIL.PLINENO as Varchar),18)
AS TRANSACTIONREF...
目前我的价值是这样的:
ABC0005953ABC0005953
我想简单地从 GIFTHEADER.pID 中去掉前 4 个字符