Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Hw do I extract different descriptions from the column trans_text

$
0
0

SELECT distinct top 3 [ca_number] as [AppNo]

,[ca_deal_name] as [DealName]

,cuser.[user_first_name] +' '+ [user_last_name] as [BName]

,vltr17.trans_text as [shared_ast_ind]

,vltr18.trans_text as [specialprop]

,vltr19.trans_text as [threatcomp]

,vltr20.trans_text as [colltype]

,vltr21.trans_text as [valtype]

FROM [FACTPROD].[dbo].[tbl_element_credit_applications] ca

left join [FACTPROD].[dbo].tbl_element_simulations simu on ca.ca_elmt_id_fkey = simu.[simu_credit_application_elmt_id_fkey]

left join [FACTPROD].[dbo].[tbl_element_products] prod on simu. [simu_elmt_id_fkey] = prod.[prod_simulation_elmt_id_fkey]

left join [FACTPROD].[dbo].[tbl_element_loans] lns on prod. [prod_elmt_id_fkey] = lns.[loan_product_elmt_id_fkey] -- Loan amount

Left join [FACTPROD].[dbo].[tbl_element_loan_utilisations] uti on uti.loanuti_loan_elmt_id_fkey =...


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>