Advertisement
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: |
select a.Acct_Nbr,
a.Inst_Nbr,
a.Acct_Desg,
a.Stmt_Date,
a.User_Code_2,
a.last_stmt_date,
dateadd(d,-1,a.last_stmt_date) last_month_stmt_dt,
b.ACCT_NO,
b.ACCT_NAME,
b.GRP_ACCT_NO,
b.GRP_BANK_NO,
b.BRANCH_NO,
b.PRICE_LIST_NBR,
b.AA_STMT_TYPE,
b.ACCT_TYPE,
b.SERCHG_CODE,
b.RECORD_CODE,
b.ACCT_STATUS,
b.DORM_INACT
from AA_DW.dbo.CAPANST1 A, ACCT_ANALYSIS.dbo.AAMASTCURLEAD b
where a.acct_nbr = b.acct_no
and a.inst_nbr = b.BANK_NO
and a.Acct_Desg = b.RECORD_CODE
and a.User_Code_2 in ('1', '2', '3', '4')
and a.stmt_date = (select max(a.stmt_date) from AA_DW.dbo.CAPANST1 A)
and a.acct_nbr not in (select acct_nbr
from dbo.CAPANST1
where stmt_Date = (select dateadd(d,-1,last_stmt_date) from dbo.CAPANST1))
|
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
|
Loading Advertisement... |