Hello,
I want to include the total count of a new/additional Table X as part of just the 'Members Loaded' value so that it would be part of the existing 'LOAD_CNT', 'DIFF' and 'PCT' values. Is that possible?
SELECT LOAD_DT = LOAD_DT,
SOURCE_CNT = SourceFileMemberCount,
LOAD_CNT = MembersLoaded,
DIFF = SourceFileMemberCount - MembersLoaded,
PCT = CAST(CAST(100
* ((SourceFileMemberCount - MembersLoaded) / (CAST(SourceFileMemberCount AS DECIMAL(18, 2)))) AS DECIMAL(18, 2)) AS VARCHAR(8))
+ '%',
SourceFileName = SourceFileName
FROM tblLoadInformation
WHERE LOAD_DT = CONVERT(VARCHAR(10), GETDATE(), 101);
Thank you.