The programming within the attached Notepad file B is a view called Tri_view_CashBasis4B. This view is contained within the programming in the view in Notepad file A.
Attached are the results of running each in the SQL Studio. "A" is supposed to be the final result. Rows 4 and 6 in A, though, are wrong. The results of the two views are to correspond based on the third string of the account number field in each. And, A should only have the debit amounts in B.
How do I fix the linking or whatever in A so that it pulls the correct information from B? B.txt A.txt B.xlsx A.xlsx
Microsoft SQL Server 2008Microsoft SQL Server 2005Microsoft Dynamics