Hi
IN below code i want that this Case condition should also check , If Type = 'T' and t.Period = 'Q' then only if month = 3 or 6 or 9 or 12 only then this Case Statement should gets executed.
UPDATE T SET T.Amount = CASE
WHEN T.[Type] = 'T' THEN ((T.Amount * 70/100) )
ELSE 0
END
FROM [Test] T where Month = @m_month
Thanks