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: |
string SQL = "select tr.recommendation_id " + ", substr(tco.COMMON_DESCRIPTION,instr(tco.COMMON_DESCRIPTION,' ') +1) Result " // This works fine + ", tr.FIRST_TIME_ACCEPTANCE_CODE_ID RFT_CODE_ID " // This doesn't + ", nvl(tr.FIRST_TIME_ACCEPTANCE_CODE_ID, 1009107) RFT_CODE_ID " // Neither does this + ", decode(tr.FIRST_TIME_ACCEPTANCE_CODE_ID, null, 1009107, tr.FIRST_TIME_ACCEPTANCE_CODE_ID) RFT_CODE_ID " + "from t_recommendations tr " + " , t_products tp " + " , exii.t_codes tc " + " , t_common tco " + " , t_providers tpr " + "where tr.PRODUCT_ID = tp.PRODUCT_ID " + "and tr.PREMIUM_FREQUENCY_CODE_ID = tc.code_id " + "and tr.factfind_id = '" + factfindID + "' " + "and tr.letter_id = '" + letterID + "' " + "and tr.ACCEPTED_CODE_ID = tco.COMMON_ID " + "and tr.PROVIDER_ID = tpr.PROVIDER_ID(+) " + "order by 1 " ; OracleDataAdapter da = new OracleDataAdapter(SQL, Connection); DataTable dtRFT = new DataTable(); da.Fill(dtRFT); dgvRFT.DataSource = dtRFT; |
|
[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... |