I have the following query:
select CONCAT('PtdBal',(select right(substring(PerNbr,5,2)-1+100,2) from SLApplication.dbo.GLSetup))
from SLApplication.dbo.AcctHist
where substring(Sub, 16, 6) = '189621'
and acct like '822%...
asked by
01.02.2017 / 01:46