0

I have the following:

SELECT DISTINCT 
Left(GIFTHEADER.pID + GIFTHEADER.PID + '-' + Cast(PAYMENTDETAIL.PLINENO as Varchar),18)
AS TRANSACTIONREF...

Currently my value looks like this:

ABC0005953ABC0005953

I want to simply strip off the first 4 characters from GIFTHEADER.pID

PriceCheaperton
  • 5,071
  • 17
  • 52
  • 94

0 Answers0