Conclusion for my actual job in my work
来源:互联网 发布:淘宝怎么看自己的评价 编辑:程序博客网 时间:2024/05/22 17:16
Here I will make a conclusion for the day before today I have noted in blog. We can refer it to Select from (select from) , Case when then else end ,Functions and Internet!
This is an actual instance in my daily work :
select * from ( select * , case when (ISNULL(FBandFGBasic,0) -NPVWaterfallForbearancelimitCalculated )>0 then (ISNULL(FBandFGBasic,0) -NPVWaterfallForbearancelimitCalculated ) Else -1.112 END as AmountExcessNPVWaterfall ........ from ( select sd.MaximumPrincipalForbearance as ModwaterfallForbearanceLimit ,(0.3*debtcapitalized) as CapDebt@30 ,(debtcapitalized -0.8*hme.CurrentValue) as [80%LTVModWaterfall] .......... ,(npv.PrincipalForgivenessAmount + npv.PrincipalForbearanceAmount ) as FBandFGBasic , case when 0.3*debtcapitalizedtodatacollectiondate >(debtcapitalizedtodatacollectiondate -0.8*hme.CurrentValue) then 0.3*debtcapitalizedtodatacollectiondate else (debtcapitalizedtodatacollectiondate -0.8*hme.CurrentValue) END as NPVWaterfallForbearancelimitCalculated ,case when m.loan_no in ( select loan_no from loancategorylist where active=1 and loancategoryid=32 ) then 'Y' else 'N' END as IsJPMTexasLoan ,dbo.GetExcessiveFobearance_JPM ( hme.servicerloannumber ,hme.Debtcapitalizedtodatacollectiondate ,npv.currentpropertyvalue ,coalesce(npv.PrincipalForgivenessAmount,0) ,coalesce(npv.PrincipalForbearanceAmount,0) ) as ExcessiveForbearanceNpvWaterfallBasic ..................... from haaaaaavaluation hme join haaaaaavaluationstandarddata sd on hme.haaaaaavaluationid = sd.haaaaaavaluationid left join haaaaaavaluationstandarddatanpv npvsd on hme.haaaaaavaluationid = npvsd.haaaaaavaluationid .......... )T)as Ewhere (ExcessiveForbearanceModWaterfallBasic != ExcessiveForbearanceNPVWaterfallBasic or ExcessiveForbearanceModWaterfallPRA != ExcessiveForbearanceNPVWaterfallPRA)and .........order by createddate desc
I hope I can make more conclusions after work so that I can make the knowledge more clear and stable in my mind whenever I need use I can fetch them quickly.
0 0
- Conclusion for my actual job in my work
- Actual Practice : DATEADD & DATEDIFF in my work - 1
- Actual Practice : Scalar Valued Functions in my work - 2
- Actual Practice : Table Valued Functions in my work -3
- Actual Practice : Insert into select from in my work -5
- Actual Practice : Scripts Integration in my work - 6
- Actual Practice : [with CTE]&[convert]&[coalesce] as in my work - 4
- my work note from new job
- Hunting for my job...(1)
- Hunting for my job...(2)
- MY Job
- for my life value and my dream to work hard ,
- THE EFFORT NEEDED IN MY WORK
- My first job - Goodbaby Group in Shanghai
- In memory of my first job
- 1st anniversary for my first job
- Feelings my work &my life
- My work flow chart
- CMutex
- DeepLearning学习笔记-回归-分类-梯度下降
- InstallShield制作JSP+TOMCAT+JDK+MYSQL(第一篇)
- 算法搬运之快速排序
- 分享QQ、微信 好友 ,空间、 新浪 的三种方式(验证通过)
- Conclusion for my actual job in my work
- httpmine jar包
- 根据先序中序遍历建树【模板】
- BZOJ-3505 数三角形 排列组合
- 鼠标截图
- 算法导论12.2-6
- 临界区,互斥量,信号量,事件的区别(线程同步)
- iOS 设置NavigationItem的Title的字体大小和颜色
- LeetCode Algorithms #24 <Swap Nodes in Pairs>