Viewing 4 posts - 1 through 4 (of 4 total)
It's more for auditing. If a sales rep adjusts their projection for a given company, they want to see what the previous projection was even if it ends up with...
April 4, 2020 at 6:49 pm
I thought CDC was only a 2019+ concept, testing a delete trigger now.
April 4, 2020 at 6:48 pm
Gave up group by and just did this:
select c.cindex,(select SUM(balance) FROM Assets2013 a
WHERE a.ClientID = c.cindex AND a.assettype=2) from Clients c
where (c.ClientClass<=7 AND c.ClientClass<>6)
it's slower but it worked.
June 12, 2015 at 9:18 am
Yeah a code example would have been a good start had I remembered to cut and paste it in. The case procedure looks like this:
WITH cte AS (SELECT DATEDIFF(YEAR,...
September 2, 2013 at 8:49 am
Viewing 4 posts - 1 through 4 (of 4 total)