In this + sign I get error Incorrect syntax near '+'.
please solve.
I dont want to change query.
declare @s as nvarchar(500);
SET @s='Pih_No not like ''201819%'''
SELECT [dbo].FUNC_GET_FINC_YEAR(MAX(ISNULL(Pih_No,0)))
FROM PurchaseInvoiceHeader (NOLOCK) + @s