SQL Id | SQL Text |
05uhmm6xgbav4 |
INSERT INTO MOT_TP_INVESTIGATION_AGENCY (TP_INVESTIGATION_ID, POLICY_ID, INVESTIGATOR_OR_AGENCY, INVESTIGATOR_OR_AGENCY_ID, TP_CLAIM_NO, TP_CASE_NO, TP_CASE_BRIEF, PED_PETITIONER_NAME, PED_SEX, PED_AGE, PED_FATHER_HUSBAND_NAME, PED_STD_CODE, PED_CONTACT_NUM, PED_INJURED_NAME, ID_INSURED_NAME, ID_STD_CODE, ID_CONTACT_NUMBER, DA_DRIVER_NAME, DA_HOUSE_NO, DA_STREET_NO, DA_CITY, DA_DISTRICT, DA_STATE, DA_STD_CODE, DA_CONTACT_NO, DA_CLAIMANT_INSURED_LOCALITY, POD_POLICY_NO,
POD_COVER_NOTE_NO, POD_POLICY_START_DATE, POD_POLICY_END_DATE, POD_ACCIDENT_IN_POLICY_PERIOD, POD_CLOSE_PROXIMITY, POD_DATE_OF_ACCIDENT, POD_DATE_OF_INTIMATION, POD_COURT_LOCATION, POD_STATE, POD_PANEL_COUNSEL, POD_PC_MOBILE_NO, POD_OPPONENT_COUNSEL, POD_OC_MOBILE_NO, POD_INVESTIGATOR, POD_INV_MOBILE_NO, POD_VEHICLE_MAKE, POD_PRODUCT, RCD_VEHICLE_CLASS, RCD_UNLADEN_VEHICLE_WEIGHT, RCD_COLOUR, RCD_SEATING_CAPACITY, RCD_TAXI, FCD_DATE_OF_ISSUE, FCD_DATE_OF_EXPIRY, FCD_OTHE
R_DETAILS, FCD_VALID_ON_DOA, PERD_DATE_OF_ISSUE, PERD_DATE_OF_EXPIRY, PERD_TYPE_OF_PERMIT, PERD_PERMIT_ROUTE_STATES, PERD_ACCIDENT_STATE, PERD_SPECIAL_PERMIT_STATE, PERD_VALID_ON_DOA, PERD_AMOUNT_CLAIMED, PERD_RESERVE_APPROVED, PERD_TYPE_OF_LOSS, PERD_CASE_STATUS, PERD_DATE_OF_ACCIDENT, PERD_TIME_OF_ACCIDENT, MLCD_MLC_DATE, MLCD_INJURED_NAME, MLCD_MLC_DETAILS, MLCD_DOCTORS_NAME, MLCD_HOSPITAL_NAME, MLCD_DISTANCE_ACCIDENT_SPOT, MLCD_DISTRICT, MLCD_STATE, TBDS_ADMISSION_DATE
, TBDS_TOTAL_BILLS, TBDS_FAKE_BILL_AMOUNT, TBDS_DOCTOR_NAME, TBDS_DISTANCE_ACCIDENT_SPOT, TBDS_STATE, TBDS_DISCHARGE_DATE, TBDS_BILLS_FAKE, TBDS_INJURY_DETAILS, TBDS_HOSPITAL_NAME, TBDS_DISTRICT, PMD_DATE_OF_DEATH, PMD_CAUSE_OF_DEATH, PMD_DATE_OF_PM, PMD_OTHERS, VRD_DATE_OF_REPORT, VRD_OTHERS, VRD_CASUE_OF_DEATH, WCD_WC_FAKE, WCD_CERTIFICATE_NUMBER, WCD_DOCTOR_NAME, WCD_DISTANCE_FROM_ACCIDENT, WCD_STATE, WCD_DATE_OF_CERTIFICATE, WCD_INJURY_DETAILS, WCD_HOSPITAL_NAME, WC
D_DISTRICT, DCD_DC_FAKE, DCD_DISABILITY_PRCNT, DCD_DOCTOR_NAME, DCD_DISTANCE_ACCIDENT_SPOT, DCD_STATE, DCD_DATE_OF_CERTIFICATE, DCD_INJURY_DETAILS, DCD_HOSPITAL_NAME, DCD_DISTRICT, FIR_FIR_FILED, FIR_FIR_TIME, FIR_FIR_IPC, FIR_FIR_OTHERS, FIR_COMPL_PETITIONER_REL, FIR_ACCUSED_VEHICLE_COLOUR, FIR_REGN_NO_ACCUSED_VEHICLE, FIR_NAME_ACCUSED_DRIVER, FIR_NAME_POLICE_STATION, FIR_DISTRICT, FIR_NAME_OF_IO, FIR_FIR_DATE, FIR_FIR_DELAY, FIR_FIR_MVACT, FIR_FIR_LODGED_BY, FIR_REGN_A
CCUSED_VEHICLE, FIR_ACCUSED_VEHICLE, FIR_FIRA_DVR_TP_DVR_BOTH, FIR_DRIVER_NAME_IN_PETITION, FIR_STATE, FIR_RANK_OF_IO, SPD_VEHICLE_SEIZED_SPOT, SPD_OTH_MAT_REC_SPOT, SPD_SPOT_SKETCH_AVAILABLE, SMD_NO_VEH_SEI_ACC_SPOT, SMD_DRIVER_NAME, SMD_DL_NUMBER, SMD_OTHER_SEIZURES, AMD_PERSON_NAME_ARRESTED, AMD_TIME_OF_ARREST, AMD_ARRESTED_BY, AMD_DATE_OF_ARREST, AMD_UNDER_SECTION, AMD_RANK_OF_IO, CD_CHARGESHEET_FILED, CD_SECTIONS_CHARGE_SHEET_IPC, CD_SEC_CRG_SHEET_OTH, CD_RANK_OF_IO,
CD_CRG_SHET_VEH_NO, CD_ACCUSED_DVR_NAME, CD_WHETHER_CLOSE_MIS_FACTS, CD_CHARGESHEET_DATE, CD_SEC_CHARGE_SHEET_MVACT, CD_NAME_OF_THE_IO, CD_CRG_AGAINT_TP_BOTH_OTH, CD_ACCUSED_TP_BOTH_DRIVER, CHARGE_ABATED, DLD_DL_AVAILABLE, DLD_CLASS_OF_VEH_AUT, DLD_DATE_OF_EXPIRY, DLD_DRIVER_ALONE, DLD_DRIVING_LICENCE_VALID, DLD_NO_DL_CHARGE_CONTAINS, DLD_BADGE_NUMBER, DLD_NAME_OF_DRIVER, DLD_DATE_OF_ISSUE, DLD_WHETHER_LEARNER_LICENSE, DLD_LEAR_LICENSE_TOT_PASS, DLD_DL_FAKE_INVALID_NO, DLD_D
L_EXTRACT_RTO, DLD_BADGE_VALID, DMR_DATE_OF_INSPECTION, DMR_DAMAGES_ON_RIGHT, DMR_DAMAGES_ON_REAR, DMR_DAMAGES_ON_LEFT, DMR_DAMAGES_ON_FRONT, DMR_NO_DAMAGE, OOD_AGE_OF_THE_DECEASED, OOD_COMPANY_NAME, OOD_TIME_LEFT_RETIREMENT, OOD_OCCUPATION_DETAILS, OOD_EMP_EMPLOYEE_RELATIONSHIP, OOD_HOUSEWIFE, IOD_INCOME_PROOF_FAKE, IOD_NET_INCOME, IOD_GROSS_INCOME, CLD_CLAIMANT_AGE, CLD_HUSBANDWIFE_CHILDREN, CLD_EMP_UNEMP, CLD_CLAIMANT_DECEASED_REL, CLD_REMARRIED, FRAUD_HIRE_N_REWARD, FR
AUD_DL_FAKE_NO_INVALID, FRAUD_FRAUD_CASE, FRAUD_DRIVER_IMPLANT, FRAUD_OCCUPANTS, FRAUD_PERMIT_VIOLATIONS, FRAUD_FITN_CER_VIOLATION, FRAUD_BASIS, FRAUD_CHARGESHEET_AGAINT_TP, FRAUD_VEHICLE_IMPLANT, FRAUD_REM_FEMALE_CLAIM, FRAUD_NCU_POLICY, FRAUD_GRATITUOUS_PASSENGERS, FRAUD_OTHERS, FRAUD_FURTHER_ACTION, LEGAL_FILED_UNDER_SECTION, LEGAL_CASE_NUMBER, OD_FILED, OD_NO_DL, OD_INVALID_DL, OD_FAKE_DL, OD_PERMIT_VOILATIONS, OD_FITNESS_CERT_VIOLATIONS, OD_HIRED_REWARD, OD_DRUNKEN_DR
IVING, OD_OTHER_REASON, OD_PAID, OD_TP_FILED_CLAIM, OD_SETT_CONTES_UDRINVEST, OD_UNDER_INVESTIGATION, OD_CRIMINAL_COURT_STATUS, INVESTIGATION_REMARK, CREATED_BY, CREATED_DATE, RELEASE_YN, FINAL_INV_BY_CSM, CONTESTABLE, SUB_CONTESTABLE) SELECT SEQ_TP_INVESTIGATION_ID_NEW.NEXTVAL, SUBSTR(ROW_VALUE, COMMA1 + 1, COMMA2 - COMMA1 - 1) C2, SUBSTR(ROW_VALUE, COMMA2 + 1, COMMA3 - COMMA2 - 1) C3, SUBSTR(ROW_VALUE, COMMA3 + 1, COMMA4 - COMMA3 - 1) C4, SUBSTR(ROW_VALUE, COMMA4 + 1,
COMMA5 - COMMA4 - 1) C5, SUBSTR(ROW_VALUE, COMMA5 + 1, COMMA6 - COMMA5 - 1) C6, SUBSTR(ROW_VALUE, COMMA6 + 1, COMMA7 - COMMA6 - 1) C7, SUBSTR(ROW_VALUE, COMMA7 + 1, COMMA8 - COMMA7 - 1) C8, SUBSTR(ROW_VALUE, COMMA8 + 1, COMMA9 - COMMA8 - 1) C9, SUBSTR(ROW_VALUE, COMMA9 + 1, COMMA10 - COMMA9 - 1) C10, SUBSTR(ROW_VALUE, COMMA10 + 1, COMMA11 - COMMA10 - 1) C11, SUBSTR(ROW_VALUE, COMMA11 + 1, COMMA12 - COMMA11 - 1) C12, SUBSTR(ROW_VALUE, COMMA12 + 1, COMMA13 - COMMA12 - 1) C1
3, SUBSTR(ROW_VALUE, COMMA13 + 1, COMMA14 - COMMA13 - 1) C14, SUBSTR(ROW_VALUE, COMMA14 + 1, COMMA15 - COMMA14 - 1) C15, SUBSTR(ROW_VALUE, COMMA15 + 1, COMMA16 - COMMA15 - 1) C16, SUBSTR(ROW_VALUE, COMMA16 + 1, COMMA17 - COMMA16 - 1) C17, SUBSTR(ROW_VALUE, COMMA17 + 1, COMMA18 - COMMA17 - 1) C18, SUBSTR(ROW_VALUE, COMMA18 + 1, COMMA19 - COMMA18 - 1) C19, SUBSTR(ROW_VALUE, COMMA19 + 1, COMMA20 - COMMA19 - 1) C20, SUBSTR(ROW_VALUE, COMMA20 + 1, COMMA21 - COMMA20 - 1) C21,
SUBSTR(ROW_VALUE, COMMA21 + 1, COMMA22 - COMMA21 - 1) C22, SUBSTR(ROW_VALUE, COMMA22 + 1, COMMA23 - COMMA22 - 1) C23, SUBSTR(ROW_VALUE, COMMA23 + 1, COMMA24 - COMMA23 - 1) C24, SUBSTR(ROW_VALUE, COMMA24 + 1, COMMA25 - COMMA24 - 1) C25, SUBSTR(ROW_VALUE, COMMA25 + 1, COMMA26 - COMMA25 - 1) C26, SUBSTR(ROW_VALUE, COMMA26 + 1, COMMA27 - COMMA26 - 1) C27, SUBSTR(ROW_VALUE, COMMA27 + 1, COMMA28 - COMMA27 - 1) C28, SUBSTR(ROW_VALUE, COMMA28 + 1, COMMA29 - COMMA28 - 1) C29, SUBS
TR(ROW_VALUE, COMMA29 + 1, COMMA30 - COMMA29 - 1) C30, SUBSTR(ROW_VALUE, COMMA30 + 1, COMMA31 - COMMA30 - 1) C31, SUBSTR(ROW_VALUE, COMMA31 + 1, COMMA32 - COMMA31 - 1) C32, SUBSTR(ROW_VALUE, COMMA32 + 1, COMMA33 - COMMA32 - 1) C33, SUBSTR(ROW_VALUE, COMMA33 + 1, COMMA34 - COMMA33 - 1) C34, SUBSTR(ROW_VALUE, COMMA34 + 1, COMMA35 - COMMA34 - 1) C35, SUBSTR(ROW_VALUE, COMMA35 + 1, COMMA36 - COMMA35 - 1) C36, SUBSTR(ROW_VALUE, COMMA36 + 1, COMMA37 - COMMA36 - 1) C37, SUBSTR(R
OW_VALUE, COMMA37 + 1, COMMA38 - COMMA37 - 1) C38, SUBSTR(ROW_VALUE, COMMA38 + 1, COMMA39 - COMMA38 - 1) C39, SUBSTR(ROW_VALUE, COMMA39 + 1, COMMA40 - COMMA39 - 1) C40, SUBSTR(ROW_VALUE, COMMA40 + 1, COMMA41 - COMMA40 - 1) C41, SUBSTR(ROW_VALUE, COMMA41 + 1, COMMA42 - COMMA41 - 1) C42, SUBSTR(ROW_VALUE, COMMA42 + 1, COMMA43 - COMMA42 - 1) C43, SUBSTR(ROW_VALUE, COMMA43 + 1, COMMA44 - COMMA43 - 1) C44, SUBSTR(ROW_VALUE, COMMA44 + 1, COMMA45 - COMMA44 - 1) C45, SUBSTR(ROW_V
ALUE, COMMA45 + 1, COMMA46 - COMMA45 - 1) C46, SUBSTR(ROW_VALUE, COMMA46 + 1, COMMA47 - COMMA46 - 1) C47, SUBSTR(ROW_VALUE, COMMA47 + 1, COMMA48 - COMMA47 - 1) C48, SUBSTR(ROW_VALUE, COMMA48 + 1, COMMA49 - COMMA48 - 1) C49, SUBSTR(ROW_VALUE, COMMA49 + 1, COMMA50 - COMMA49 - 1) C50, SUBSTR(ROW_VALUE, COMMA50 + 1, COMMA51 - COMMA50 - 1) C51, SUBSTR(ROW_VALUE, COMMA51 + 1, COMMA52 - COMMA51 - 1) C52, SUBSTR(ROW_VALUE, COMMA52 + 1, COMMA53 - COMMA52 - 1) C53, SUBSTR(ROW_VALUE
, COMMA53 + 1, COMMA54 - COMMA53 - 1) C54, SUBSTR(ROW_VALUE, COMMA54 + 1, COMMA55 - COMMA54 - 1) C55, SUBSTR(ROW_VALUE, COMMA55 + 1, COMMA56 - COMMA55 - 1) C56, SUBSTR(ROW_VALUE, COMMA56 + 1, COMMA57 - COMMA56 - 1) C57, SUBSTR(ROW_VALUE, COMMA57 + 1, COMMA58 - COMMA57 - 1) C58, SUBSTR(ROW_VALUE, COMMA58 + 1, COMMA59 - COMMA58 - 1) C59, SUBSTR(ROW_VALUE, COMMA59 + 1, COMMA60 - COMMA59 - 1) C60, SUBSTR(ROW_VALUE, COMMA60 + 1, COMMA61 - COMMA60 - 1) C61, SUBSTR(ROW_VALUE, C
OMMA61 + 1, COMMA62 - COMMA61 - 1) C62, SUBSTR(ROW_VALUE, COMMA62 + 1, COMMA63 - COMMA62 - 1) C63, SUBSTR(ROW_VALUE, COMMA63 + 1, COMMA64 - COMMA63 - 1) C64, SUBSTR(ROW_VALUE, COMMA64 + 1, COMMA65 - COMMA64 - 1) C65, SUBSTR(ROW_VALUE, COMMA65 + 1, COMMA66 - COMMA65 - 1) C66, SUBSTR(ROW_VALUE, COMMA66 + 1, COMMA67 - COMMA66 - 1) C67, SUBSTR(ROW_VALUE, COMMA67 + 1, COMMA68 - COMMA67 - 1) C68, SUBSTR(ROW_VALUE, COMMA68 + 1, COMMA69 - COMMA68 - 1) C69, SUBSTR(ROW_VALUE, COMMA
69 + 1, COMMA70 - COMMA69 - 1) C70, SUBSTR(ROW_VALUE, COMMA70 + 1, COMMA71 - COMMA70 - 1) C71, SUBSTR(ROW_VALUE, COMMA71 + 1, COMMA72 - COMMA71 - 1) C72, SUBSTR(ROW_VALUE, COMMA72 + 1, COMMA73 - COMMA72 - 1) C73, SUBSTR(ROW_VALUE, COMMA73 + 1, COMMA74 - COMMA73 - 1) C74, SUBSTR(ROW_VALUE, COMMA74 + 1, COMMA75 - COMMA74 - 1) C75, SUBSTR(ROW_VALUE, COMMA75 + 1, COMMA76 - COMMA75 - 1) C76, SUBSTR(ROW_VALUE, COMMA76 + 1, COMMA77 - COMMA76 - 1) C77, SUBSTR(ROW_VALUE, COMMA77 +
1, COMMA78 - COMMA77 - 1) C78, SUBSTR(ROW_VALUE, COMMA78 + 1, COMMA79 - COMMA78 - 1) C79, SUBSTR(ROW_VALUE, COMMA79 + 1, COMMA80 - COMMA79 - 1) C80, SUBSTR(ROW_VALUE, COMMA80 + 1, COMMA81 - COMMA80 - 1) C81, SUBSTR(ROW_VALUE, COMMA81 + 1, COMMA82 - COMMA81 - 1) C82, SUBSTR(ROW_VALUE, COMMA82 + 1, COMMA83 - COMMA82 - 1) C83, SUBSTR(ROW_VALUE, COMMA83 + 1, COMMA84 - COMMA83 - 1) C84, SUBSTR(ROW_VALUE, COMMA84 + 1, COMMA85 - COMMA84 - 1) C85, SUBSTR(ROW_VALUE, COMMA85 + 1,
COMMA86 - COMMA85 - 1) C86, SUBSTR(ROW_VALUE, COMMA86 + 1, COMMA87 - COMMA86 - 1) C87, SUBSTR(ROW_VALUE, COMMA87 + 1, COMMA88 - COMMA87 - 1) C88, SUBSTR(ROW_VALUE, COMMA88 + 1, COMMA89 - COMMA88 - 1) C89, SUBSTR(ROW_VALUE, COMMA89 + 1, COMMA90 - COMMA89 - 1) C90, SUBSTR(ROW_VALUE, COMMA90 + 1, COMMA91 - COMMA90 - 1) C91, SUBSTR(ROW_VALUE, COMMA91 + 1, COMMA92 - COMMA91 - 1) C92, SUBSTR(ROW_VALUE, COMMA92 + 1, COMMA93 - COMMA92 - 1) C93, SUBSTR(ROW_VALUE, COMMA93 + 1, COM
MA94 - COMMA93 - 1) C94, SUBSTR(ROW_VALUE, COMMA94 + 1, COMMA95 - COMMA94 - 1) C95, SUBSTR(ROW_VALUE, COMMA95 + 1, COMMA96 - COMMA95 - 1) C96, SUBSTR(ROW_VALUE, COMMA96 + 1, COMMA97 - COMMA96 - 1) C97, SUBSTR(ROW_VALUE, COMMA97 + 1, COMMA98 - COMMA97 - 1) C98, SUBSTR(ROW_VALUE, COMMA98 + 1, COMMA99 - COMMA98 - 1) C99, SUBSTR(ROW_VALUE, COMMA99 + 1, COMMA100 - COMMA99 - 1) C100, SUBSTR(ROW_VALUE, COMMA100 + 1, COMMA101 - COMMA100 - 1) C101, SUBSTR(ROW_VALUE, COMMA101 + 1,
COMMA102 - COMMA101 - 1) C102, SUBSTR(ROW_VALUE, COMMA102 + 1, COMMA103 - COMMA102 - 1) C103, SUBSTR(ROW_VALUE, COMMA103 + 1, COMMA104 - COMMA103 - 1) C104, SUBSTR(ROW_VALUE, COMMA104 + 1, COMMA105 - COMMA104 - 1) C105, SUBSTR(ROW_VALUE, COMMA105 + 1, COMMA106 - COMMA105 - 1) C106, SUBSTR(ROW_VALUE, COMMA106 + 1, COMMA107 - COMMA106 - 1) C107, SUBSTR(ROW_VALUE, COMMA107 + 1, COMMA108 - COMMA107 - 1) C108, SUBSTR(ROW_VALUE, COMMA108 + 1, COMMA109 - COMMA108 - 1) C109, SUBSTR
(ROW_VALUE, COMMA109 + 1, COMMA110 - COMMA109 - 1) C110, SUBSTR(ROW_VALUE, COMMA110 + 1, COMMA111 - COMMA110 - 1) C111, SUBSTR(ROW_VALUE, COMMA111 + 1, COMMA112 - COMMA111 - 1) C112, SUBSTR(ROW_VALUE, COMMA112 + 1, COMMA113 - COMMA112 - 1) C113, SUBSTR(ROW_VALUE, COMMA113 + 1, COMMA114 - COMMA113 - 1) C114, SUBSTR(ROW_VALUE, COMMA114 + 1, COMMA115 - COMMA114 - 1) C115, SUBSTR(ROW_VALUE, COMMA115 + 1, COMMA116 - COMMA115 - 1) C116, SUBSTR(ROW_VALUE, COMMA116 + 1, COMMA117 -
COMMA116 - 1) C117, SUBSTR(ROW_VALUE, COMMA117 + 1, COMMA118 - COMMA117 - 1) C118, SUBSTR(ROW_VALUE, COMMA118 + 1, COMMA119 - COMMA118 - 1) C119, SUBSTR(ROW_VALUE, COMMA119 + 1, COMMA120 - COMMA119 - 1) C120, SUBSTR(ROW_VALUE, COMMA120 + 1, COMMA121 - COMMA120 - 1) C121, SUBSTR(ROW_VALUE, COMMA121 + 1, COMMA122 - COMMA121 - 1) C122, SUBSTR(ROW_VALUE, COMMA122 + 1, COMMA123 - COMMA122 - 1) C123, SUBSTR(ROW_VALUE, COMMA123 + 1, COMMA124 - COMMA123 - 1) C124, SUBSTR(ROW_VALUE
, COMMA124 + 1, COMMA125 - COMMA124 - 1) C125, SUBSTR(ROW_VALUE, COMMA125 + 1, COMMA126 - COMMA125 - 1) C126, SUBSTR(ROW_VALUE, COMMA126 + 1, COMMA127 - COMMA126 - 1) C127, SUBSTR(ROW_VALUE, COMMA127 + 1, COMMA128 - COMMA127 - 1) C128, SUBSTR(ROW_VALUE, COMMA128 + 1, COMMA129 - COMMA128 - 1) C129, SUBSTR(ROW_VALUE, COMMA129 + 1, COMMA130 - COMMA129 - 1) C130, SUBSTR(ROW_VALUE, COMMA130 + 1, COMMA131 - COMMA130 - 1) C131, SUBSTR(ROW_VALUE, COMMA131 + 1, COMMA132 - COMMA131
- 1) C132, SUBSTR(ROW_VALUE, COMMA132 + 1, COMMA133 - COMMA132 - 1) C133, SUBSTR(ROW_VALUE, COMMA133 + 1, COMMA134 - COMMA133 - 1) C134, SUBSTR(ROW_VALUE, COMMA134 + 1, COMMA135 - COMMA134 - 1) C135, SUBSTR(ROW_VALUE, COMMA135 + 1, COMMA136 - COMMA135 - 1) C136, SUBSTR(ROW_VALUE, COMMA136 + 1, COMMA137 - COMMA136 - 1) C137, SUBSTR(ROW_VALUE, COMMA137 + 1, COMMA138 - COMMA137 - 1) C138, SUBSTR(ROW_VALUE, COMMA138 + 1, COMMA139 - COMMA138 - 1) C139, SUBSTR(ROW_VALUE, COMMA13
9 + 1, COMMA140 - COMMA139 - 1) C140, SUBSTR(ROW_VALUE, COMMA140 + 1, COMMA141 - COMMA140 - 1) C141, SUBSTR(ROW_VALUE, COMMA141 + 1, COMMA142 - COMMA141 - 1) C142, SUBSTR(ROW_VALUE, COMMA142 + 1, COMMA143 - COMMA142 - 1) C143, SUBSTR(ROW_VALUE, COMMA143 + 1, COMMA144 - COMMA143 - 1) C144, SUBSTR(ROW_VALUE, COMMA144 + 1, COMMA145 - COMMA144 - 1) C145, SUBSTR(ROW_VALUE, COMMA145 + 1, COMMA146 - COMMA145 - 1) C146, SUBSTR(ROW_VALUE, COMMA146 + 1, COMMA147 - COMMA146 - 1) C147,
SUBSTR(ROW_VALUE, COMMA147 + 1, COMMA148 - COMMA147 - 1) C148, SUBSTR(ROW_VALUE, COMMA148 + 1, COMMA149 - COMMA148 - 1) C149, SUBSTR(ROW_VALUE, COMMA149 + 1, COMMA150 - COMMA149 - 1) C150, SUBSTR(ROW_VALUE, COMMA150 + 1, COMMA151 - COMMA150 - 1) C151, SUBSTR(ROW_VALUE, COMMA151 + 1, COMMA152 - COMMA151 - 1) C152, SUBSTR(ROW_VALUE, COMMA152 + 1, COMMA153 - COMMA152 - 1) C153, SUBSTR(ROW_VALUE, COMMA153 + 1, COMMA154 - COMMA153 - 1) C154, SUBSTR(ROW_VALUE, COMMA154 + 1, CO
MMA155 - COMMA154 - 1) C155, SUBSTR(ROW_VALUE, COMMA155 + 1, COMMA156 - COMMA155 - 1) C156, SUBSTR(ROW_VALUE, COMMA156 + 1, COMMA157 - COMMA156 - 1) C157, SUBSTR(ROW_VALUE, COMMA157 + 1, COMMA158 - COMMA157 - 1) C158, SUBSTR(ROW_VALUE, COMMA158 + 1, COMMA159 - COMMA158 - 1) C159, SUBSTR(ROW_VALUE, COMMA159 + 1, COMMA160 - COMMA159 - 1) C160, SUBSTR(ROW_VALUE, COMMA160 + 1, COMMA161 - COMMA160 - 1) C161, SUBSTR(ROW_VALUE, COMMA161 + 1, COMMA162 - COMMA161 - 1) C162, SUBSTR(R
OW_VALUE, COMMA162 + 1, COMMA163 - COMMA162 - 1) C163, SUBSTR(ROW_VALUE, COMMA163 + 1, COMMA164 - COMMA163 - 1) C164, SUBSTR(ROW_VALUE, COMMA164 + 1, COMMA165 - COMMA164 - 1) C165, SUBSTR(ROW_VALUE, COMMA165 + 1, COMMA166 - COMMA165 - 1) C166, SUBSTR(ROW_VALUE, COMMA166 + 1, COMMA167 - COMMA166 - 1) C167, SUBSTR(ROW_VALUE, COMMA167 + 1, COMMA168 - COMMA167 - 1) C168, SUBSTR(ROW_VALUE, COMMA168 + 1, COMMA169 - COMMA168 - 1) C169, SUBSTR(ROW_VALUE, COMMA169 + 1, COMMA170 - C
OMMA169 - 1) C170, SUBSTR(ROW_VALUE, COMMA170 + 1, COMMA171 - COMMA170 - 1) C171, SUBSTR(ROW_VALUE, COMMA171 + 1, COMMA172 - COMMA171 - 1) C172, SUBSTR(ROW_VALUE, COMMA172 + 1, COMMA173 - COMMA172 - 1) C173, SUBSTR(ROW_VALUE, COMMA173 + 1, COMMA174 - COMMA173 - 1) C174, SUBSTR(ROW_VALUE, COMMA174 + 1, COMMA175 - COMMA174 - 1) C175, SUBSTR(ROW_VALUE, COMMA175 + 1, COMMA176 - COMMA175 - 1) C176, SUBSTR(ROW_VALUE, COMMA176 + 1, COMMA177 - COMMA176 - 1) C177, SUBSTR(ROW_VALUE,
COMMA177 + 1, COMMA178 - COMMA177 - 1) C178, SUBSTR(ROW_VALUE, COMMA178 + 1, COMMA179 - COMMA178 - 1) C179, SUBSTR(ROW_VALUE, COMMA179 + 1, COMMA180 - COMMA179 - 1) C180, SUBSTR(ROW_VALUE, COMMA180 + 1, COMMA181 - COMMA180 - 1) C181, SUBSTR(ROW_VALUE, COMMA181 + 1, COMMA182 - COMMA181 - 1) C182, SUBSTR(ROW_VALUE, COMMA182 + 1, COMMA183 - COMMA182 - 1) C183, SUBSTR(ROW_VALUE, COMMA183 + 1, COMMA184 - COMMA183 - 1) C184, SUBSTR(ROW_VALUE, COMMA184 + 1, COMMA185 - COMMA184 -
1) C185, SUBSTR(ROW_VALUE, COMMA185 + 1, COMMA186 - COMMA185 - 1) C186, SUBSTR(ROW_VALUE, COMMA186 + 1, COMMA187 - COMMA186 - 1) C187, SUBSTR(ROW_VALUE, COMMA187 + 1, COMMA188 - COMMA187 - 1) C188, SUBSTR(ROW_VALUE, COMMA188 + 1, COMMA189 - COMMA188 - 1) C189, SUBSTR(ROW_VALUE, COMMA189 + 1, COMMA190 - COMMA189 - 1) C190, SUBSTR(ROW_VALUE, COMMA190 + 1, COMMA191 - COMMA190 - 1) C191, SUBSTR(ROW_VALUE, COMMA191 + 1, COMMA192 - COMMA191 - 1) C192, SUBSTR(ROW_VALUE, COMMA192
+ 1, COMMA193 - COMMA192 - 1) C193, SUBSTR(ROW_VALUE, COMMA193 + 1, COMMA194 - COMMA193 - 1) C194, SUBSTR(ROW_VALUE, COMMA194 + 1, COMMA195 - COMMA194 - 1) C195, SUBSTR(ROW_VALUE, COMMA195 + 1, COMMA196 - COMMA195 - 1) C196, SUBSTR(ROW_VALUE, COMMA196 + 1, COMMA197 - COMMA196 - 1) C197, SUBSTR(ROW_VALUE, COMMA197 + 1, COMMA198 - COMMA197 - 1) C198, SUBSTR(ROW_VALUE, COMMA198 + 1, COMMA199 - COMMA198 - 1) C199, SUBSTR(ROW_VALUE, COMMA199 + 1, COMMA200 - COMMA199 - 1) C200,
SUBSTR(ROW_VALUE, COMMA200 + 1, COMMA201 - COMMA200 - 1) C201, SUBSTR(ROW_VALUE, COMMA201 + 1, COMMA202 - COMMA201 - 1) C202, SUBSTR(ROW_VALUE, COMMA202 + 1, COMMA203 - COMMA202 - 1) C203, SUBSTR(ROW_VALUE, COMMA203 + 1, COMMA204 - COMMA203 - 1) C204, SUBSTR(ROW_VALUE, COMMA204 + 1, COMMA205 - COMMA204 - 1) C205, SUBSTR(ROW_VALUE, COMMA205 + 1, COMMA206 - COMMA205 - 1) C206, SUBSTR(ROW_VALUE, COMMA206 + 1, COMMA207 - COMMA206 - 1) C207, SUBSTR(ROW_VALUE, COMMA207 + 1, COMM
A208 - COMMA207 - 1) C208, SUBSTR(ROW_VALUE, COMMA208 + 1, COMMA209 - COMMA208 - 1) C209, SUBSTR(ROW_VALUE, COMMA209 + 1, COMMA210 - COMMA209 - 1) C210, SUBSTR(ROW_VALUE, COMMA210 + 1, COMMA211 - COMMA210 - 1) C211, SUBSTR(ROW_VALUE, COMMA211 + 1, COMMA212 - COMMA211 - 1) C212, SUBSTR(ROW_VALUE, COMMA212 + 1, COMMA213 - COMMA212 - 1) C213, SUBSTR(ROW_VALUE, COMMA213 + 1, COMMA214 - COMMA213 - 1) C214, SUBSTR(ROW_VALUE, COMMA214 + 1, COMMA215 - COMMA214 - 1) C215, SUBSTR(ROW
_VALUE, COMMA215 + 1, COMMA216 - COMMA215 - 1) C216, SUBSTR(ROW_VALUE, COMMA216 + 1, COMMA217 - COMMA216 - 1) C217, SUBSTR(ROW_VALUE, COMMA217 + 1, COMMA218 - COMMA217 - 1) C218, SUBSTR(ROW_VALUE, COMMA218 + 1, COMMA219 - COMMA218 - 1) C219, SUBSTR(ROW_VALUE, COMMA219 + 1, COMMA220 - COMMA219 - 1) C220, SUBSTR(ROW_VALUE, COMMA220 + 1, COMMA221 - COMMA220 - 1) C221, SUBSTR(ROW_VALUE, COMMA221 + 1, COMMA222 - COMMA221 - 1) C222, SUBSTR(ROW_VALUE, COMMA222 + 1, COMMA223 - COM
MA222 - 1) C223, SUBSTR(ROW_VALUE, COMMA223 + 1, COMMA224 - COMMA223 - 1) C224, SYSDATE, SUBSTR(ROW_VALUE, COMMA224 + 1, COMMA225 - COMMA224 - 1) C225, SUBSTR(ROW_VALUE, COMMA225 + 1, COMMA226 - COMMA225 - 1) C226, SUBSTR(ROW_VALUE, COMMA226 + 1, COMMA227 - COMMA226 - 1) C227, SUBSTR(ROW_VALUE, COMMA227 + 1, COMMA228 - COMMA227 - 1) C228 FROM (SELECT INSTR(ROW_VALUE, '~', 1, 1) COMMA1, INSTR(ROW_VALUE, '~', 1, 2) COMMA2, INSTR(ROW_VALUE, '~', 1, 3) COMMA3, INSTR(ROW_V
ALUE, '~', 1, 4) COMMA4, INSTR(ROW_VALUE, '~', 1, 5) COMMA5, INSTR(ROW_VALUE, '~', 1, 6) COMMA6, INSTR(ROW_VALUE, '~', 1, 7) COMMA7, INSTR(ROW_VALUE, '~', 1, 8) COMMA8, INSTR(ROW_VALUE, '~', 1, 9) COMMA9, INSTR(ROW_VALUE, '~', 1, 10) COMMA10, INSTR(ROW_VALUE, '~', 1, 11) COMMA11, INSTR(ROW_VALUE, '~', 1, 12) COMMA12, INSTR(ROW_VALUE, '~', 1, 13) COMMA13, INSTR(ROW_VALUE, '~', 1, 14) COMMA14, INSTR(ROW_VALUE, '~', 1, 15) COMMA15, INSTR(ROW_VALUE, '
~', 1, 16) COMMA16, INSTR(ROW_VALUE, '~', 1, 17) COMMA17, INSTR(ROW_VALUE, '~', 1, 18) COMMA18, INSTR(ROW_VALUE, '~', 1, 19) COMMA19, INSTR(ROW_VALUE, '~', 1, 20) COMMA20, INSTR(ROW_VALUE, '~', 1, 21) COMMA21, INSTR(ROW_VALUE, '~', 1, 22) COMMA22, INSTR(ROW_VALUE, '~', 1, 23) COMMA23, INSTR(ROW_VALUE, '~', 1, 24) COMMA24, INSTR(ROW_VALUE, '~', 1, 25) COMMA25, INSTR(ROW_VALUE, '~', 1, 26) COMMA26, INSTR(ROW_VALUE, '~', 1, 27) COMMA27, INSTR(ROW_VALUE
, '~', 1, 28) COMMA28, INSTR(ROW_VALUE, '~', 1, 29) COMMA29, INSTR(ROW_VALUE, '~', 1, 30) COMMA30, INSTR(ROW_VALUE, '~', 1, 31) COMMA31, INSTR(ROW_VALUE, '~', 1, 32) COMMA32, INSTR(ROW_VALUE, '~', 1, 33) COMMA33, INSTR(ROW_VALUE, '~', 1, 34) COMMA34, INSTR(ROW_VALUE, '~', 1, 35) COMMA35, INSTR(ROW_VALUE, '~', 1, 36) COMMA36, INSTR(ROW_VALUE, '~', 1, 37) COMMA37, INSTR(ROW_VALUE, '~', 1, 38) COMMA38, INSTR(ROW_VALUE, '~', 1, 39) COMMA39, INSTR(ROW_V
ALUE, '~', 1, 40) COMMA40, INSTR(ROW_VALUE, '~', 1, 41) COMMA41, INSTR(ROW_VALUE, '~', 1, 42) COMMA42, INSTR(ROW_VALUE, '~', 1, 43) COMMA43, INSTR(ROW_VALUE, '~', 1, 44) COMMA44, INSTR(ROW_VALUE, '~', 1, 45) COMMA45, INSTR(ROW_VALUE, '~', 1, 46) COMMA46, INSTR(ROW_VALUE, '~', 1, 47) COMMA47, INSTR(ROW_VALUE, '~', 1, 48) COMMA48, INSTR(ROW_VALUE, '~', 1, 49) COMMA49, INSTR(ROW_VALUE, '~', 1, 50) COMMA50, INSTR(ROW_VALUE, '~', 1, 51) COMMA51, INSTR(R
OW_VALUE, '~', 1, 52) COMMA52, INSTR(ROW_VALUE, '~', 1, 53) COMMA53, INSTR(ROW_VALUE, '~', 1, 54) COMMA54, INSTR(ROW_VALUE, '~', 1, 55) COMMA55, INSTR(ROW_VALUE, '~', 1, 56) COMMA56, INSTR(ROW_VALUE, '~', 1, 57) COMMA57, INSTR(ROW_VALUE, '~', 1, 58) COMMA58, INSTR(ROW_VALUE, '~', 1, 59) COMMA59, INSTR(ROW_VALUE, '~', 1, 60) COMMA60, INSTR(ROW_VALUE, '~', 1, 61) COMMA61, INSTR(ROW_VALUE, '~', 1, 62) COMMA62, INSTR(ROW_VALUE, '~', 1, 63) COMMA63, INS
TR(ROW_VALUE, '~', 1, 64) COMMA64, INSTR(ROW_VALUE, '~', 1, 65) COMMA65, INSTR(ROW_VALUE, '~', 1, 66) COMMA66, INSTR(ROW_VALUE, '~', 1, 67) COMMA67, INSTR(ROW_VALUE, '~', 1, 68) COMMA68, INSTR(ROW_VALUE, '~', 1, 69) COMMA69, INSTR(ROW_VALUE, '~', 1, 70) COMMA70, INSTR(ROW_VALUE, '~', 1, 71) COMMA71, INSTR(ROW_VALUE, '~', 1, 72) COMMA72, INSTR(ROW_VALUE, '~', 1, 73) COMMA73, INSTR(ROW_VALUE, '~', 1, 74) COMMA74, INSTR(ROW_VALUE, '~', 1, 75) COMMA75,
INSTR(ROW_VALUE, '~', 1, 76) COMMA76, INSTR(ROW_VALUE, '~', 1, 77) COMMA77, INSTR(ROW_VALUE, '~', 1, 78) COMMA78, INSTR(ROW_VALUE, '~', 1, 79) COMMA79, INSTR(ROW_VALUE, '~', 1, 80) COMMA80, INSTR(ROW_VALUE, '~', 1, 81) COMMA81, INSTR(ROW_VALUE, '~', 1, 82) COMMA82, INSTR(ROW_VALUE, '~', 1, 83) COMMA83, INSTR(ROW_VALUE, '~', 1, 84) COMMA84, INSTR(ROW_VALUE, '~', 1, 85) COMMA85, INSTR(ROW_VALUE, '~', 1, 86) COMMA86, INSTR(ROW_VALUE, '~', 1, 87) COMMA
87, INSTR(ROW_VALUE, '~', 1, 88) COMMA88, INSTR(ROW_VALUE, '~', 1, 89) COMMA89, INSTR(ROW_VALUE, '~', 1, 90) COMMA90, INSTR(ROW_VALUE, '~', 1, 91) COMMA91, INSTR(ROW_VALUE, '~', 1, 92) COMMA92, INSTR(ROW_VALUE, '~', 1, 93) COMMA93, INSTR(ROW_VALUE, '~', 1, 94) COMMA94, INSTR(ROW_VALUE, '~', 1, 95) COMMA95, INSTR(ROW_VALUE, '~', 1, 96) COMMA96, INSTR(ROW_VALUE, '~', 1, 97) COMMA97, INSTR(ROW_VALUE, '~', 1, 98) COMMA98, INSTR(ROW_VALUE, '~', 1, 99) C
OMMA99, INSTR(ROW_VALUE, '~', 1, 100) COMMA100, INSTR(ROW_VALUE, '~', 1, 101) COMMA101, INSTR(ROW_VALUE, '~', 1, 102) COMMA102, INSTR(ROW_VALUE, '~', 1, 103) COMMA103, INSTR(ROW_VALUE, '~', 1, 104) COMMA104, INSTR(ROW_VALUE, '~', 1, 105) COMMA105, INSTR(ROW_VALUE, '~', 1, 106) COMMA106, INSTR(ROW_VALUE, '~', 1, 107) COMMA107, INSTR(ROW_VALUE, '~', 1, 108) COMMA108, INSTR(ROW_VALUE, '~', 1, 109) COMMA109, INSTR(ROW_VALUE, '~', 1, 110) COMMA110, INSTR(R
OW_VALUE, '~', 1, 111) COMMA111, INSTR(ROW_VALUE, '~', 1, 112) COMMA112, INSTR(ROW_VALUE, '~', 1, 113) COMMA113, INSTR(ROW_VALUE, '~', 1, 114) COMMA114, INSTR(ROW_VALUE, '~', 1, 115) COMMA115, INSTR(ROW_VALUE, '~', 1, 116) COMMA116, INSTR(ROW_VALUE, '~', 1, 117) COMMA117, INSTR(ROW_VALUE, '~', 1, 118) COMMA118, INSTR(ROW_VALUE, '~', 1, 119) COMMA119, INSTR(ROW_VALUE, '~', 1, 120) COMMA120, INSTR(ROW_VALUE, '~', 1, 121) COMMA121, INSTR(ROW_VALUE, '~',
1, 122) COMMA122, INSTR(ROW_VALUE, '~', 1, 123) COMMA123, INSTR(ROW_VALUE, '~', 1, 124) COMMA124, INSTR(ROW_VALUE, '~', 1, 125) COMMA125, INSTR(ROW_VALUE, '~', 1, 126) COMMA126, INSTR(ROW_VALUE, '~', 1, 127) COMMA127, INSTR(ROW_VALUE, '~', 1, 128) COMMA128, INSTR(ROW_VALUE, '~', 1, 129) COMMA129, INSTR(ROW_VALUE, '~', 1, 130) COMMA130, INSTR(ROW_VALUE, '~', 1, 131) COMMA131, INSTR(ROW_VALUE, '~', 1, 132) COMMA132, INSTR(ROW_VALUE, '~', 1, 133) COMMA1
33, INSTR(ROW_VALUE, '~', 1, 134) COMMA134, INSTR(ROW_VALUE, '~', 1, 135) COMMA135, INSTR(ROW_VALUE, '~', 1, 136) COMMA136, INSTR(ROW_VALUE, '~', 1, 137) COMMA137, INSTR(ROW_VALUE, '~', 1, 138) COMMA138, INSTR(ROW_VALUE, '~', 1, 139) COMMA139, INSTR(ROW_VALUE, '~', 1, 140) COMMA140, INSTR(ROW_VALUE, '~', 1, 141) COMMA141, INSTR(ROW_VALUE, '~', 1, 142) COMMA142, INSTR(ROW_VALUE, '~', 1, 143) COMMA143, INSTR(ROW_VALUE, '~', 1, 144) COMMA144, INSTR(ROW_V
ALUE, '~', 1, 145) COMMA145, INSTR(ROW_VALUE, '~', 1, 146) COMMA146, INSTR(ROW_VALUE, '~', 1, 147) COMMA147, INSTR(ROW_VALUE, '~', 1, 148) COMMA148, INSTR(ROW_VALUE, '~', 1, 149) COMMA149, INSTR(ROW_VALUE, '~', 1, 150) COMMA150, INSTR(ROW_VALUE, '~', 1, 151) COMMA151, INSTR(ROW_VALUE, '~', 1, 152) COMMA152, INSTR(ROW_VALUE, '~', 1, 153) COMMA153, INSTR(ROW_VALUE, '~', 1, 154) COMMA154, INSTR(ROW_VALUE, '~', 1, 155) COMMA155, INSTR(ROW_VALUE, '~', 1,
156) COMMA156, INSTR(ROW_VALUE, '~', 1, 157) COMMA157, INSTR(ROW_VALUE, '~', 1, 158) COMMA158, INSTR(ROW_VALUE, '~', 1, 159) COMMA159, INSTR(ROW_VALUE, '~', 1, 160) COMMA160, INSTR(ROW_VALUE, '~', 1, 161) COMMA161, INSTR(ROW_VALUE, '~', 1, 162) COMMA162, INSTR(ROW_VALUE, '~', 1, 163) COMMA163, INSTR(ROW_VALUE, '~', 1, 164) COMMA164, INSTR(ROW_VALUE, '~', 1, 165) COMMA165, INSTR(ROW_VALUE, '~', 1, 166) COMMA166, INSTR(ROW_VALUE, '~', 1, 167) COMMA167,
INSTR(ROW_VALUE, '~', 1, 168) COMMA168, INSTR(ROW_VALUE, '~', 1, 169) COMMA169, INSTR(ROW_VALUE, '~', 1, 170) COMMA170, INSTR(ROW_VALUE, '~', 1, 171) COMMA171, INSTR(ROW_VALUE, '~', 1, 172) COMMA172, INSTR(ROW_VALUE, '~', 1, 173) COMMA173, INSTR(ROW_VALUE, '~', 1, 174) COMMA174, INSTR(ROW_VALUE, '~', 1, 175) COMMA175, INSTR(ROW_VALUE, '~', 1, 176) COMMA176, INSTR(ROW_VALUE, '~', 1, 177) COMMA177, INSTR(ROW_VALUE, '~', 1, 178) COMMA178, INSTR(ROW_VALUE
, '~', 1, 179) COMMA179, INSTR(ROW_VALUE, '~', 1, 180) COMMA180, INSTR(ROW_VALUE, '~', 1, 181) COMMA181, INSTR(ROW_VALUE, '~', 1, 182) COMMA182, INSTR(ROW_VALUE, '~', 1, 183) COMMA183, INSTR(ROW_VALUE, '~', 1, 184) COMMA184, INSTR(ROW_VALUE, '~', 1, 185) COMMA185, INSTR(ROW_VALUE, '~', 1, 186) COMMA186, INSTR(ROW_VALUE, '~', 1, 187) COMMA187, INSTR(ROW_VALUE, '~', 1, 188) COMMA188, INSTR(ROW_VALUE, '~', 1, 189) COMMA189, INSTR(ROW_VALUE, '~', 1, 190
) COMMA190, INSTR(ROW_VALUE, '~', 1, 191) COMMA191, INSTR(ROW_VALUE, '~', 1, 192) COMMA192, INSTR(ROW_VALUE, '~', 1, 193) COMMA193, INSTR(ROW_VALUE, '~', 1, 194) COMMA194, INSTR(ROW_VALUE, '~', 1, 195) COMMA195, INSTR(ROW_VALUE, '~', 1, 196) COMMA196, INSTR(ROW_VALUE, '~', 1, 197) COMMA197, INSTR(ROW_VALUE, '~', 1, 198) COMMA198, INSTR(ROW_VALUE, '~', 1, 199) COMMA199, INSTR(ROW_VALUE, '~', 1, 200) COMMA200, INSTR(ROW_VALUE, '~', 1, 201) COMMA201, INS
TR(ROW_VALUE, '~', 1, 202) COMMA202, INSTR(ROW_VALUE, '~', 1, 203) COMMA203, INSTR(ROW_VALUE, '~', 1, 204) COMMA204, INSTR(ROW_VALUE, '~', 1, 205) COMMA205, INSTR(ROW_VALUE, '~', 1, 206) COMMA206, INSTR(ROW_VALUE, '~', 1, 207) COMMA207, INSTR(ROW_VALUE, '~', 1, 208) COMMA208, INSTR(ROW_VALUE, '~', 1, 209) COMMA209, INSTR(ROW_VALUE, '~', 1, 210) COMMA210, INSTR(ROW_VALUE, '~', 1, 211) COMMA211, INSTR(ROW_VALUE, '~', 1, 212) COMMA212, INSTR(ROW_VALUE, '
~', 1, 213) COMMA213, INSTR(ROW_VALUE, '~', 1, 214) COMMA214, INSTR(ROW_VALUE, '~', 1, 215) COMMA215, INSTR(ROW_VALUE, '~', 1, 216) COMMA216, INSTR(ROW_VALUE, '~', 1, 217) COMMA217, INSTR(ROW_VALUE, '~', 1, 218) COMMA218, INSTR(ROW_VALUE, '~', 1, 219) COMMA219, INSTR(ROW_VALUE, '~', 1, 220) COMMA220, INSTR(ROW_VALUE, '~', 1, 221) COMMA221, INSTR(ROW_VALUE, '~', 1, 222) COMMA222, INSTR(ROW_VALUE, '~', 1, 223) COMMA223, INSTR(ROW_VALUE, '~', 1, 224) CO
MMA224, INSTR(ROW_VALUE, '~', 1, 225) COMMA225, INSTR(ROW_VALUE, '~', 1, 226) COMMA226, INSTR(ROW_VALUE, '~', 1, 227) COMMA227, LENGTH(ROW_VALUE) + 1 COMMA228, ROW_VALUE FROM (SELECT :B1 ROW_VALUE FROM DUAL)) |
08f771mchk5wf |
SELECT DISTINCT Y.ROLE_RIGHTS_DESC "RoleRightDesc", NVL(X.UTM_VIEW, 0) "View", NVL(X.UTM_MODIFY, 0) "Modify" FROM MOT_UG_ROLES X, (SELECT ROLE_RIGHTS_ID, ROLE_RIGHTS_DESC FROM MAS_ROLE_RIGHTS WHERE ROLE_RIGHTS_PARENT_ID = (SELECT MAS_ROLE_RIGHTS.ROLE_RIGHTS_ID FROM MAS_ROLE_RIGHTS WHERE MAS_ROLE_RIGHTS.ROLE_RIGHTS_ID = :B1 )) Y WHERE X.UTM_TAB_ID(+) = Y.ROLE_RIGHTS_ID AND X.UTM_USERID(+) = UDF_MAS_USERS_EMP_USER_ID(UPPER(:B2 ))
|
0v4wusaapsuwk |
UPDATE MOT_TP_INVESTIGATION_AGENCY SET (POLICY_ID, INVESTIGATOR_OR_AGENCY, INVESTIGATOR_OR_AGENCY_ID, TP_CLAIM_NO, TP_CASE_NO, TP_CASE_BRIEF, PED_PETITIONER_NAME, PED_SEX, PED_AGE, PED_FATHER_HUSBAND_NAME, PED_STD_CODE, PED_CONTACT_NUM, PED_INJURED_NAME, ID_INSURED_NAME, ID_STD_CODE, ID_CONTACT_NUMBER, DA_DRIVER_NAME, DA_HOUSE_NO, DA_STREET_NO, DA_CITY, DA_DISTRICT, DA_STATE, DA_STD_CODE, DA_CONTACT_NO, DA_CLAIMANT_INSURED_LOCALITY, POD_POLICY_NO, POD_COVER_NOTE_NO, PO
D_POLICY_START_DATE, POD_POLICY_END_DATE, POD_ACCIDENT_IN_POLICY_PERIOD, POD_CLOSE_PROXIMITY, POD_DATE_OF_ACCIDENT, POD_DATE_OF_INTIMATION, POD_COURT_LOCATION, POD_STATE, POD_PANEL_COUNSEL, POD_PC_MOBILE_NO, POD_OPPONENT_COUNSEL, POD_OC_MOBILE_NO, POD_INVESTIGATOR, POD_INV_MOBILE_NO, POD_VEHICLE_MAKE, POD_PRODUCT, RCD_VEHICLE_CLASS, RCD_UNLADEN_VEHICLE_WEIGHT, RCD_COLOUR, RCD_SEATING_CAPACITY, RCD_TAXI, FCD_DATE_OF_ISSUE, FCD_DATE_OF_EXPIRY, FCD_OTHER_DETAILS, FCD_VALID_O
N_DOA, PERD_DATE_OF_ISSUE, PERD_DATE_OF_EXPIRY, PERD_TYPE_OF_PERMIT, PERD_PERMIT_ROUTE_STATES, PERD_ACCIDENT_STATE, PERD_SPECIAL_PERMIT_STATE, PERD_VALID_ON_DOA, PERD_AMOUNT_CLAIMED, PERD_RESERVE_APPROVED, PERD_TYPE_OF_LOSS, PERD_CASE_STATUS, PERD_DATE_OF_ACCIDENT, PERD_TIME_OF_ACCIDENT, MLCD_MLC_DATE, MLCD_INJURED_NAME, MLCD_MLC_DETAILS, MLCD_DOCTORS_NAME, MLCD_HOSPITAL_NAME, MLCD_DISTANCE_ACCIDENT_SPOT, MLCD_DISTRICT, MLCD_STATE, TBDS_ADMISSION_DATE, TBDS_TOTAL_BILLS, T
BDS_FAKE_BILL_AMOUNT, TBDS_DOCTOR_NAME, TBDS_DISTANCE_ACCIDENT_SPOT, TBDS_STATE, TBDS_DISCHARGE_DATE, TBDS_BILLS_FAKE, TBDS_INJURY_DETAILS, TBDS_HOSPITAL_NAME, TBDS_DISTRICT, PMD_DATE_OF_DEATH, PMD_CAUSE_OF_DEATH, PMD_DATE_OF_PM, PMD_OTHERS, VRD_DATE_OF_REPORT, VRD_OTHERS, VRD_CASUE_OF_DEATH, WCD_WC_FAKE, WCD_CERTIFICATE_NUMBER, WCD_DOCTOR_NAME, WCD_DISTANCE_FROM_ACCIDENT, WCD_STATE, WCD_DATE_OF_CERTIFICATE, WCD_INJURY_DETAILS, WCD_HOSPITAL_NAME, WCD_DISTRICT, DCD_DC_FAK
E, DCD_DISABILITY_PRCNT, DCD_DOCTOR_NAME, DCD_DISTANCE_ACCIDENT_SPOT, DCD_STATE, DCD_DATE_OF_CERTIFICATE, DCD_INJURY_DETAILS, DCD_HOSPITAL_NAME, DCD_DISTRICT, FIR_FIR_FILED, FIR_FIR_TIME, FIR_FIR_IPC, FIR_FIR_OTHERS, FIR_COMPL_PETITIONER_REL, FIR_ACCUSED_VEHICLE_COLOUR, FIR_REGN_NO_ACCUSED_VEHICLE, FIR_NAME_ACCUSED_DRIVER, FIR_NAME_POLICE_STATION, FIR_DISTRICT, FIR_NAME_OF_IO, FIR_FIR_DATE, FIR_FIR_DELAY, FIR_FIR_MVACT, FIR_FIR_LODGED_BY, FIR_REGN_ACCUSED_VEHICLE, FIR_AC
CUSED_VEHICLE, FIR_FIRA_DVR_TP_DVR_BOTH, FIR_DRIVER_NAME_IN_PETITION, FIR_STATE, FIR_RANK_OF_IO, SPD_VEHICLE_SEIZED_SPOT, SPD_OTH_MAT_REC_SPOT, SPD_SPOT_SKETCH_AVAILABLE, SMD_NO_VEH_SEI_ACC_SPOT, SMD_DRIVER_NAME, SMD_DL_NUMBER, SMD_OTHER_SEIZURES, AMD_PERSON_NAME_ARRESTED, AMD_TIME_OF_ARREST, AMD_ARRESTED_BY, AMD_DATE_OF_ARREST, AMD_UNDER_SECTION, AMD_RANK_OF_IO, CD_CHARGESHEET_FILED, CD_SECTIONS_CHARGE_SHEET_IPC, CD_SEC_CRG_SHEET_OTH, CD_RANK_OF_IO, CD_CRG_SHET_VEH_NO, CD
_ACCUSED_DVR_NAME, CD_WHETHER_CLOSE_MIS_FACTS, CD_CHARGESHEET_DATE, CD_SEC_CHARGE_SHEET_MVACT, CD_NAME_OF_THE_IO, CD_CRG_AGAINT_TP_BOTH_OTH, CD_ACCUSED_TP_BOTH_DRIVER, CHARGE_ABATED, DLD_DL_AVAILABLE, DLD_CLASS_OF_VEH_AUT, DLD_DATE_OF_EXPIRY, DLD_DRIVER_ALONE, DLD_DRIVING_LICENCE_VALID, DLD_NO_DL_CHARGE_CONTAINS, DLD_BADGE_NUMBER, DLD_NAME_OF_DRIVER, DLD_DATE_OF_ISSUE, DLD_WHETHER_LEARNER_LICENSE, DLD_LEAR_LICENSE_TOT_PASS, DLD_DL_FAKE_INVALID_NO, DLD_DL_EXTRACT_RTO, DLD_BAD
GE_VALID, DMR_DATE_OF_INSPECTION, DMR_DAMAGES_ON_RIGHT, DMR_DAMAGES_ON_REAR, DMR_DAMAGES_ON_LEFT, DMR_DAMAGES_ON_FRONT, DMR_NO_DAMAGE, OOD_AGE_OF_THE_DECEASED, OOD_COMPANY_NAME, OOD_TIME_LEFT_RETIREMENT, OOD_OCCUPATION_DETAILS, OOD_EMP_EMPLOYEE_RELATIONSHIP, OOD_HOUSEWIFE, IOD_INCOME_PROOF_FAKE, IOD_NET_INCOME, IOD_GROSS_INCOME, CLD_CLAIMANT_AGE, CLD_HUSBANDWIFE_CHILDREN, CLD_EMP_UNEMP, CLD_CLAIMANT_DECEASED_REL, CLD_REMARRIED, FRAUD_HIRE_N_REWARD, FRAUD_DL_FAKE_NO_INVALID,
FRAUD_FRAUD_CASE, FRAUD_DRIVER_IMPLANT, FRAUD_OCCUPANTS, FRAUD_PERMIT_VIOLATIONS, FRAUD_FITN_CER_VIOLATION, FRAUD_BASIS, FRAUD_CHARGESHEET_AGAINT_TP, FRAUD_VEHICLE_IMPLANT, FRAUD_REM_FEMALE_CLAIM, FRAUD_NCU_POLICY, FRAUD_GRATITUOUS_PASSENGERS, FRAUD_OTHERS, FRAUD_FURTHER_ACTION, LEGAL_FILED_UNDER_SECTION, LEGAL_CASE_NUMBER, OD_FILED, OD_NO_DL, OD_INVALID_DL, OD_FAKE_DL, OD_PERMIT_VOILATIONS, OD_FITNESS_CERT_VIOLATIONS, OD_HIRED_REWARD, OD_DRUNKEN_DRIVING, OD_OTHER_REASON
, OD_PAID, OD_TP_FILED_CLAIM, OD_SETT_CONTES_UDRINVEST, OD_UNDER_INVESTIGATION, OD_CRIMINAL_COURT_STATUS, INVESTIGATION_REMARK, MODIFIED_BY, MODIFIED_DATE, RELEASE_YN, FINAL_INV_BY_CSM, CONTESTABLE, SUB_CONTESTABLE)= (SELECT SUBSTR(ROW_VALUE, COMMA1 + 1, COMMA2 - COMMA1 - 1) C2, SUBSTR(ROW_VALUE, COMMA2 + 1, COMMA3 - COMMA2 - 1) C3, SUBSTR(ROW_VALUE, COMMA3 + 1, COMMA4 - COMMA3 - 1) C4, SUBSTR(ROW_VALUE, COMMA4 + 1, COMMA5 - COMMA4 - 1) C5, SUBSTR(ROW_VALUE, COMMA5 + 1,
COMMA6 - COMMA5 - 1) C6, SUBSTR(ROW_VALUE, COMMA6 + 1, COMMA7 - COMMA6 - 1) C7, SUBSTR(ROW_VALUE, COMMA7 + 1, COMMA8 - COMMA7 - 1) C8, SUBSTR(ROW_VALUE, COMMA8 + 1, COMMA9 - COMMA8 - 1) C9, SUBSTR(ROW_VALUE, COMMA9 + 1, COMMA10 - COMMA9 - 1) C10, SUBSTR(ROW_VALUE, COMMA10 + 1, COMMA11 - COMMA10 - 1) C11, SUBSTR(ROW_VALUE, COMMA11 + 1, COMMA12 - COMMA11 - 1) C12, SUBSTR(ROW_VALUE, COMMA12 + 1, COMMA13 - COMMA12 - 1) C13, SUBSTR(ROW_VALUE, COMMA13 + 1, COMMA14 - COMMA13 -
1) C14, SUBSTR(ROW_VALUE, COMMA14 + 1, COMMA15 - COMMA14 - 1) C15, SUBSTR(ROW_VALUE, COMMA15 + 1, COMMA16 - COMMA15 - 1) C16, SUBSTR(ROW_VALUE, COMMA16 + 1, COMMA17 - COMMA16 - 1) C17, SUBSTR(ROW_VALUE, COMMA17 + 1, COMMA18 - COMMA17 - 1) C18, SUBSTR(ROW_VALUE, COMMA18 + 1, COMMA19 - COMMA18 - 1) C19, SUBSTR(ROW_VALUE, COMMA19 + 1, COMMA20 - COMMA19 - 1) C20, SUBSTR(ROW_VALUE, COMMA20 + 1, COMMA21 - COMMA20 - 1) C21, SUBSTR(ROW_VALUE, COMMA21 + 1, COMMA22 - COMMA21 - 1) C
22, SUBSTR(ROW_VALUE, COMMA22 + 1, COMMA23 - COMMA22 - 1) C23, SUBSTR(ROW_VALUE, COMMA23 + 1, COMMA24 - COMMA23 - 1) C24, SUBSTR(ROW_VALUE, COMMA24 + 1, COMMA25 - COMMA24 - 1) C25, SUBSTR(ROW_VALUE, COMMA25 + 1, COMMA26 - COMMA25 - 1) C26, SUBSTR(ROW_VALUE, COMMA26 + 1, COMMA27 - COMMA26 - 1) C27, SUBSTR(ROW_VALUE, COMMA27 + 1, COMMA28 - COMMA27 - 1) C28, SUBSTR(ROW_VALUE, COMMA28 + 1, COMMA29 - COMMA28 - 1) C29, SUBSTR(ROW_VALUE, COMMA29 + 1, COMMA30 - COMMA29 - 1) C30,
SUBSTR(ROW_VALUE, COMMA30 + 1, COMMA31 - COMMA30 - 1) C31, SUBSTR(ROW_VALUE, COMMA31 + 1, COMMA32 - COMMA31 - 1) C32, SUBSTR(ROW_VALUE, COMMA32 + 1, COMMA33 - COMMA32 - 1) C33, SUBSTR(ROW_VALUE, COMMA33 + 1, COMMA34 - COMMA33 - 1) C34, SUBSTR(ROW_VALUE, COMMA34 + 1, COMMA35 - COMMA34 - 1) C35, SUBSTR(ROW_VALUE, COMMA35 + 1, COMMA36 - COMMA35 - 1) C36, SUBSTR(ROW_VALUE, COMMA36 + 1, COMMA37 - COMMA36 - 1) C37, SUBSTR(ROW_VALUE, COMMA37 + 1, COMMA38 - COMMA37 - 1) C38, SUB
STR(ROW_VALUE, COMMA38 + 1, COMMA39 - COMMA38 - 1) C39, SUBSTR(ROW_VALUE, COMMA39 + 1, COMMA40 - COMMA39 - 1) C40, SUBSTR(ROW_VALUE, COMMA40 + 1, COMMA41 - COMMA40 - 1) C41, SUBSTR(ROW_VALUE, COMMA41 + 1, COMMA42 - COMMA41 - 1) C42, SUBSTR(ROW_VALUE, COMMA42 + 1, COMMA43 - COMMA42 - 1) C43, SUBSTR(ROW_VALUE, COMMA43 + 1, COMMA44 - COMMA43 - 1) C44, SUBSTR(ROW_VALUE, COMMA44 + 1, COMMA45 - COMMA44 - 1) C45, SUBSTR(ROW_VALUE, COMMA45 + 1, COMMA46 - COMMA45 - 1) C46, SUBSTR(
ROW_VALUE, COMMA46 + 1, COMMA47 - COMMA46 - 1) C47, SUBSTR(ROW_VALUE, COMMA47 + 1, COMMA48 - COMMA47 - 1) C48, SUBSTR(ROW_VALUE, COMMA48 + 1, COMMA49 - COMMA48 - 1) C49, SUBSTR(ROW_VALUE, COMMA49 + 1, COMMA50 - COMMA49 - 1) C50, SUBSTR(ROW_VALUE, COMMA50 + 1, COMMA51 - COMMA50 - 1) C51, SUBSTR(ROW_VALUE, COMMA51 + 1, COMMA52 - COMMA51 - 1) C52, SUBSTR(ROW_VALUE, COMMA52 + 1, COMMA53 - COMMA52 - 1) C53, SUBSTR(ROW_VALUE, COMMA53 + 1, COMMA54 - COMMA53 - 1) C54, SUBSTR(ROW_
VALUE, COMMA54 + 1, COMMA55 - COMMA54 - 1) C55, SUBSTR(ROW_VALUE, COMMA55 + 1, COMMA56 - COMMA55 - 1) C56, SUBSTR(ROW_VALUE, COMMA56 + 1, COMMA57 - COMMA56 - 1) C57, SUBSTR(ROW_VALUE, COMMA57 + 1, COMMA58 - COMMA57 - 1) C58, SUBSTR(ROW_VALUE, COMMA58 + 1, COMMA59 - COMMA58 - 1) C59, SUBSTR(ROW_VALUE, COMMA59 + 1, COMMA60 - COMMA59 - 1) C60, SUBSTR(ROW_VALUE, COMMA60 + 1, COMMA61 - COMMA60 - 1) C61, SUBSTR(ROW_VALUE, COMMA61 + 1, COMMA62 - COMMA61 - 1) C62, SUBSTR(ROW_VALU
E, COMMA62 + 1, COMMA63 - COMMA62 - 1) C63, SUBSTR(ROW_VALUE, COMMA63 + 1, COMMA64 - COMMA63 - 1) C64, SUBSTR(ROW_VALUE, COMMA64 + 1, COMMA65 - COMMA64 - 1) C65, SUBSTR(ROW_VALUE, COMMA65 + 1, COMMA66 - COMMA65 - 1) C66, SUBSTR(ROW_VALUE, COMMA66 + 1, COMMA67 - COMMA66 - 1) C67, SUBSTR(ROW_VALUE, COMMA67 + 1, COMMA68 - COMMA67 - 1) C68, SUBSTR(ROW_VALUE, COMMA68 + 1, COMMA69 - COMMA68 - 1) C69, SUBSTR(ROW_VALUE, COMMA69 + 1, COMMA70 - COMMA69 - 1) C70, SUBSTR(ROW_VALUE,
COMMA70 + 1, COMMA71 - COMMA70 - 1) C71, SUBSTR(ROW_VALUE, COMMA71 + 1, COMMA72 - COMMA71 - 1) C72, SUBSTR(ROW_VALUE, COMMA72 + 1, COMMA73 - COMMA72 - 1) C73, SUBSTR(ROW_VALUE, COMMA73 + 1, COMMA74 - COMMA73 - 1) C74, SUBSTR(ROW_VALUE, COMMA74 + 1, COMMA75 - COMMA74 - 1) C75, SUBSTR(ROW_VALUE, COMMA75 + 1, COMMA76 - COMMA75 - 1) C76, SUBSTR(ROW_VALUE, COMMA76 + 1, COMMA77 - COMMA76 - 1) C77, SUBSTR(ROW_VALUE, COMMA77 + 1, COMMA78 - COMMA77 - 1) C78, SUBSTR(ROW_VALUE, COMM
A78 + 1, COMMA79 - COMMA78 - 1) C79, SUBSTR(ROW_VALUE, COMMA79 + 1, COMMA80 - COMMA79 - 1) C80, SUBSTR(ROW_VALUE, COMMA80 + 1, COMMA81 - COMMA80 - 1) C81, SUBSTR(ROW_VALUE, COMMA81 + 1, COMMA82 - COMMA81 - 1) C82, SUBSTR(ROW_VALUE, COMMA82 + 1, COMMA83 - COMMA82 - 1) C83, SUBSTR(ROW_VALUE, COMMA83 + 1, COMMA84 - COMMA83 - 1) C84, SUBSTR(ROW_VALUE, COMMA84 + 1, COMMA85 - COMMA84 - 1) C85, SUBSTR(ROW_VALUE, COMMA85 + 1, COMMA86 - COMMA85 - 1) C86, SUBSTR(ROW_VALUE, COMMA86
+ 1, COMMA87 - COMMA86 - 1) C87, SUBSTR(ROW_VALUE, COMMA87 + 1, COMMA88 - COMMA87 - 1) C88, SUBSTR(ROW_VALUE, COMMA88 + 1, COMMA89 - COMMA88 - 1) C89, SUBSTR(ROW_VALUE, COMMA89 + 1, COMMA90 - COMMA89 - 1) C90, SUBSTR(ROW_VALUE, COMMA90 + 1, COMMA91 - COMMA90 - 1) C91, SUBSTR(ROW_VALUE, COMMA91 + 1, COMMA92 - COMMA91 - 1) C92, SUBSTR(ROW_VALUE, COMMA92 + 1, COMMA93 - COMMA92 - 1) C93, SUBSTR(ROW_VALUE, COMMA93 + 1, COMMA94 - COMMA93 - 1) C94, SUBSTR(ROW_VALUE, COMMA94 + 1,
COMMA95 - COMMA94 - 1) C95, SUBSTR(ROW_VALUE, COMMA95 + 1, COMMA96 - COMMA95 - 1) C96, SUBSTR(ROW_VALUE, COMMA96 + 1, COMMA97 - COMMA96 - 1) C97, SUBSTR(ROW_VALUE, COMMA97 + 1, COMMA98 - COMMA97 - 1) C98, SUBSTR(ROW_VALUE, COMMA98 + 1, COMMA99 - COMMA98 - 1) C99, SUBSTR(ROW_VALUE, COMMA99 + 1, COMMA100 - COMMA99 - 1) C100, SUBSTR(ROW_VALUE, COMMA100 + 1, COMMA101 - COMMA100 - 1) C101, SUBSTR(ROW_VALUE, COMMA101 + 1, COMMA102 - COMMA101 - 1) C102, SUBSTR(ROW_VALUE, COMMA1
02 + 1, COMMA103 - COMMA102 - 1) C103, SUBSTR(ROW_VALUE, COMMA103 + 1, COMMA104 - COMMA103 - 1) C104, SUBSTR(ROW_VALUE, COMMA104 + 1, COMMA105 - COMMA104 - 1) C105, SUBSTR(ROW_VALUE, COMMA105 + 1, COMMA106 - COMMA105 - 1) C106, SUBSTR(ROW_VALUE, COMMA106 + 1, COMMA107 - COMMA106 - 1) C107, SUBSTR(ROW_VALUE, COMMA107 + 1, COMMA108 - COMMA107 - 1) C108, SUBSTR(ROW_VALUE, COMMA108 + 1, COMMA109 - COMMA108 - 1) C109, SUBSTR(ROW_VALUE, COMMA109 + 1, COMMA110 - COMMA109 - 1) C110
, SUBSTR(ROW_VALUE, COMMA110 + 1, COMMA111 - COMMA110 - 1) C111, SUBSTR(ROW_VALUE, COMMA111 + 1, COMMA112 - COMMA111 - 1) C112, SUBSTR(ROW_VALUE, COMMA112 + 1, COMMA113 - COMMA112 - 1) C113, SUBSTR(ROW_VALUE, COMMA113 + 1, COMMA114 - COMMA113 - 1) C114, SUBSTR(ROW_VALUE, COMMA114 + 1, COMMA115 - COMMA114 - 1) C115, SUBSTR(ROW_VALUE, COMMA115 + 1, COMMA116 - COMMA115 - 1) C116, SUBSTR(ROW_VALUE, COMMA116 + 1, COMMA117 - COMMA116 - 1) C117, SUBSTR(ROW_VALUE, COMMA117 + 1, C
OMMA118 - COMMA117 - 1) C118, SUBSTR(ROW_VALUE, COMMA118 + 1, COMMA119 - COMMA118 - 1) C119, SUBSTR(ROW_VALUE, COMMA119 + 1, COMMA120 - COMMA119 - 1) C120, SUBSTR(ROW_VALUE, COMMA120 + 1, COMMA121 - COMMA120 - 1) C121, SUBSTR(ROW_VALUE, COMMA121 + 1, COMMA122 - COMMA121 - 1) C122, SUBSTR(ROW_VALUE, COMMA122 + 1, COMMA123 - COMMA122 - 1) C123, SUBSTR(ROW_VALUE, COMMA123 + 1, COMMA124 - COMMA123 - 1) C124, SUBSTR(ROW_VALUE, COMMA124 + 1, COMMA125 - COMMA124 - 1) C125, SUBSTR(
ROW_VALUE, COMMA125 + 1, COMMA126 - COMMA125 - 1) C126, SUBSTR(ROW_VALUE, COMMA126 + 1, COMMA127 - COMMA126 - 1) C127, SUBSTR(ROW_VALUE, COMMA127 + 1, COMMA128 - COMMA127 - 1) C128, SUBSTR(ROW_VALUE, COMMA128 + 1, COMMA129 - COMMA128 - 1) C129, SUBSTR(ROW_VALUE, COMMA129 + 1, COMMA130 - COMMA129 - 1) C130, SUBSTR(ROW_VALUE, COMMA130 + 1, COMMA131 - COMMA130 - 1) C131, SUBSTR(ROW_VALUE, COMMA131 + 1, COMMA132 - COMMA131 - 1) C132, SUBSTR(ROW_VALUE, COMMA132 + 1, COMMA133 -
COMMA132 - 1) C133, SUBSTR(ROW_VALUE, COMMA133 + 1, COMMA134 - COMMA133 - 1) C134, SUBSTR(ROW_VALUE, COMMA134 + 1, COMMA135 - COMMA134 - 1) C135, SUBSTR(ROW_VALUE, COMMA135 + 1, COMMA136 - COMMA135 - 1) C136, SUBSTR(ROW_VALUE, COMMA136 + 1, COMMA137 - COMMA136 - 1) C137, SUBSTR(ROW_VALUE, COMMA137 + 1, COMMA138 - COMMA137 - 1) C138, SUBSTR(ROW_VALUE, COMMA138 + 1, COMMA139 - COMMA138 - 1) C139, SUBSTR(ROW_VALUE, COMMA139 + 1, COMMA140 - COMMA139 - 1) C140, SUBSTR(ROW_VALUE,
COMMA140 + 1, COMMA141 - COMMA140 - 1) C141, SUBSTR(ROW_VALUE, COMMA141 + 1, COMMA142 - COMMA141 - 1) C142, SUBSTR(ROW_VALUE, COMMA142 + 1, COMMA143 - COMMA142 - 1) C143, SUBSTR(ROW_VALUE, COMMA143 + 1, COMMA144 - COMMA143 - 1) C144, SUBSTR(ROW_VALUE, COMMA144 + 1, COMMA145 - COMMA144 - 1) C145, SUBSTR(ROW_VALUE, COMMA145 + 1, COMMA146 - COMMA145 - 1) C146, SUBSTR(ROW_VALUE, COMMA146 + 1, COMMA147 - COMMA146 - 1) C147, SUBSTR(ROW_VALUE, COMMA147 + 1, COMMA148 - COMMA147 -
1) C148, SUBSTR(ROW_VALUE, COMMA148 + 1, COMMA149 - COMMA148 - 1) C149, SUBSTR(ROW_VALUE, COMMA149 + 1, COMMA150 - COMMA149 - 1) C150, SUBSTR(ROW_VALUE, COMMA150 + 1, COMMA151 - COMMA150 - 1) C151, SUBSTR(ROW_VALUE, COMMA151 + 1, COMMA152 - COMMA151 - 1) C152, SUBSTR(ROW_VALUE, COMMA152 + 1, COMMA153 - COMMA152 - 1) C153, SUBSTR(ROW_VALUE, COMMA153 + 1, COMMA154 - COMMA153 - 1) C154, SUBSTR(ROW_VALUE, COMMA154 + 1, COMMA155 - COMMA154 - 1) C155, SUBSTR(ROW_VALUE, COMMA155
+ 1, COMMA156 - COMMA155 - 1) C156, SUBSTR(ROW_VALUE, COMMA156 + 1, COMMA157 - COMMA156 - 1) C157, SUBSTR(ROW_VALUE, COMMA157 + 1, COMMA158 - COMMA157 - 1) C158, SUBSTR(ROW_VALUE, COMMA158 + 1, COMMA159 - COMMA158 - 1) C159, SUBSTR(ROW_VALUE, COMMA159 + 1, COMMA160 - COMMA159 - 1) C160, SUBSTR(ROW_VALUE, COMMA160 + 1, COMMA161 - COMMA160 - 1) C161, SUBSTR(ROW_VALUE, COMMA161 + 1, COMMA162 - COMMA161 - 1) C162, SUBSTR(ROW_VALUE, COMMA162 + 1, COMMA163 - COMMA162 - 1) C163,
SUBSTR(ROW_VALUE, COMMA163 + 1, COMMA164 - COMMA163 - 1) C164, SUBSTR(ROW_VALUE, COMMA164 + 1, COMMA165 - COMMA164 - 1) C165, SUBSTR(ROW_VALUE, COMMA165 + 1, COMMA166 - COMMA165 - 1) C166, SUBSTR(ROW_VALUE, COMMA166 + 1, COMMA167 - COMMA166 - 1) C167, SUBSTR(ROW_VALUE, COMMA167 + 1, COMMA168 - COMMA167 - 1) C168, SUBSTR(ROW_VALUE, COMMA168 + 1, COMMA169 - COMMA168 - 1) C169, SUBSTR(ROW_VALUE, COMMA169 + 1, COMMA170 - COMMA169 - 1) C170, SUBSTR(ROW_VALUE, COMMA170 + 1, COM
MA171 - COMMA170 - 1) C171, SUBSTR(ROW_VALUE, COMMA171 + 1, COMMA172 - COMMA171 - 1) C172, SUBSTR(ROW_VALUE, COMMA172 + 1, COMMA173 - COMMA172 - 1) C173, SUBSTR(ROW_VALUE, COMMA173 + 1, COMMA174 - COMMA173 - 1) C174, SUBSTR(ROW_VALUE, COMMA174 + 1, COMMA175 - COMMA174 - 1) C175, SUBSTR(ROW_VALUE, COMMA175 + 1, COMMA176 - COMMA175 - 1) C176, SUBSTR(ROW_VALUE, COMMA176 + 1, COMMA177 - COMMA176 - 1) C177, SUBSTR(ROW_VALUE, COMMA177 + 1, COMMA178 - COMMA177 - 1) C178, SUBSTR(RO
W_VALUE, COMMA178 + 1, COMMA179 - COMMA178 - 1) C179, SUBSTR(ROW_VALUE, COMMA179 + 1, COMMA180 - COMMA179 - 1) C180, SUBSTR(ROW_VALUE, COMMA180 + 1, COMMA181 - COMMA180 - 1) C181, SUBSTR(ROW_VALUE, COMMA181 + 1, COMMA182 - COMMA181 - 1) C182, SUBSTR(ROW_VALUE, COMMA182 + 1, COMMA183 - COMMA182 - 1) C183, SUBSTR(ROW_VALUE, COMMA183 + 1, COMMA184 - COMMA183 - 1) C184, SUBSTR(ROW_VALUE, COMMA184 + 1, COMMA185 - COMMA184 - 1) C185, SUBSTR(ROW_VALUE, COMMA185 + 1, COMMA186 - CO
MMA185 - 1) C186, SUBSTR(ROW_VALUE, COMMA186 + 1, COMMA187 - COMMA186 - 1) C187, SUBSTR(ROW_VALUE, COMMA187 + 1, COMMA188 - COMMA187 - 1) C188, SUBSTR(ROW_VALUE, COMMA188 + 1, COMMA189 - COMMA188 - 1) C189, SUBSTR(ROW_VALUE, COMMA189 + 1, COMMA190 - COMMA189 - 1) C190, SUBSTR(ROW_VALUE, COMMA190 + 1, COMMA191 - COMMA190 - 1) C191, SUBSTR(ROW_VALUE, COMMA191 + 1, COMMA192 - COMMA191 - 1) C192, SUBSTR(ROW_VALUE, COMMA192 + 1, COMMA193 - COMMA192 - 1) C193, SUBSTR(ROW_VALUE,
COMMA193 + 1, COMMA194 - COMMA193 - 1) C194, SUBSTR(ROW_VALUE, COMMA194 + 1, COMMA195 - COMMA194 - 1) C195, SUBSTR(ROW_VALUE, COMMA195 + 1, COMMA196 - COMMA195 - 1) C196, SUBSTR(ROW_VALUE, COMMA196 + 1, COMMA197 - COMMA196 - 1) C197, SUBSTR(ROW_VALUE, COMMA197 + 1, COMMA198 - COMMA197 - 1) C198, SUBSTR(ROW_VALUE, COMMA198 + 1, COMMA199 - COMMA198 - 1) C199, SUBSTR(ROW_VALUE, COMMA199 + 1, COMMA200 - COMMA199 - 1) C200, SUBSTR(ROW_VALUE, COMMA200 + 1, COMMA201 - COMMA200 - 1
) C201, SUBSTR(ROW_VALUE, COMMA201 + 1, COMMA202 - COMMA201 - 1) C202, SUBSTR(ROW_VALUE, COMMA202 + 1, COMMA203 - COMMA202 - 1) C203, SUBSTR(ROW_VALUE, COMMA203 + 1, COMMA204 - COMMA203 - 1) C204, SUBSTR(ROW_VALUE, COMMA204 + 1, COMMA205 - COMMA204 - 1) C205, SUBSTR(ROW_VALUE, COMMA205 + 1, COMMA206 - COMMA205 - 1) C206, SUBSTR(ROW_VALUE, COMMA206 + 1, COMMA207 - COMMA206 - 1) C207, SUBSTR(ROW_VALUE, COMMA207 + 1, COMMA208 - COMMA207 - 1) C208, SUBSTR(ROW_VALUE, COMMA208 +
1, COMMA209 - COMMA208 - 1) C209, SUBSTR(ROW_VALUE, COMMA209 + 1, COMMA210 - COMMA209 - 1) C210, SUBSTR(ROW_VALUE, COMMA210 + 1, COMMA211 - COMMA210 - 1) C211, SUBSTR(ROW_VALUE, COMMA211 + 1, COMMA212 - COMMA211 - 1) C212, SUBSTR(ROW_VALUE, COMMA212 + 1, COMMA213 - COMMA212 - 1) C213, SUBSTR(ROW_VALUE, COMMA213 + 1, COMMA214 - COMMA213 - 1) C214, SUBSTR(ROW_VALUE, COMMA214 + 1, COMMA215 - COMMA214 - 1) C215, SUBSTR(ROW_VALUE, COMMA215 + 1, COMMA216 - COMMA215 - 1) C216, S
UBSTR(ROW_VALUE, COMMA216 + 1, COMMA217 - COMMA216 - 1) C217, SUBSTR(ROW_VALUE, COMMA217 + 1, COMMA218 - COMMA217 - 1) C218, SUBSTR(ROW_VALUE, COMMA218 + 1, COMMA219 - COMMA218 - 1) C219, SUBSTR(ROW_VALUE, COMMA219 + 1, COMMA220 - COMMA219 - 1) C220, SUBSTR(ROW_VALUE, COMMA220 + 1, COMMA221 - COMMA220 - 1) C221, SUBSTR(ROW_VALUE, COMMA221 + 1, COMMA222 - COMMA221 - 1) C222, SUBSTR(ROW_VALUE, COMMA222 + 1, COMMA223 - COMMA222 - 1) C223, SUBSTR(ROW_VALUE, COMMA223 + 1, COMMA
224 - COMMA223 - 1) C224, SYSDATE, SUBSTR(ROW_VALUE, COMMA224 + 1, COMMA225 - COMMA224 - 1) C225, SUBSTR(ROW_VALUE, COMMA225 + 1, COMMA226 - COMMA225 - 1) C226, SUBSTR(ROW_VALUE, COMMA226 + 1, COMMA227 - COMMA226- 1) C227, SUBSTR(ROW_VALUE, COMMA227 + 1, COMMA228 - COMMA227 - 1) C228 FROM (SELECT INSTR(ROW_VALUE, '~', 1, 1) COMMA1, INSTR(ROW_VALUE, '~', 1, 2) COMMA2, INSTR(ROW_VALUE, '~', 1, 3) COMMA3, INSTR(ROW_VALUE, '~', 1, 4) COMMA4, INSTR(ROW_VALUE, '~', 1, 5
) COMMA5, INSTR(ROW_VALUE, '~', 1, 6) COMMA6, INSTR(ROW_VALUE, '~', 1, 7) COMMA7, INSTR(ROW_VALUE, '~', 1, 8) COMMA8, INSTR(ROW_VALUE, '~', 1, 9) COMMA9, INSTR(ROW_VALUE, '~', 1, 10) COMMA10, INSTR(ROW_VALUE, '~', 1, 11) COMMA11, INSTR(ROW_VALUE, '~', 1, 12) COMMA12, INSTR(ROW_VALUE, '~', 1, 13) COMMA13, INSTR(ROW_VALUE, '~', 1, 14) COMMA14, INSTR(ROW_VALUE, '~', 1, 15) COMMA15, INSTR(ROW_VALUE, '~', 1, 16) COMMA16, INSTR(ROW_VALUE, '~', 1, 17) COM
MA17, INSTR(ROW_VALUE, '~', 1, 18) COMMA18, INSTR(ROW_VALUE, '~', 1, 19) COMMA19, INSTR(ROW_VALUE, '~', 1, 20) COMMA20, INSTR(ROW_VALUE, '~', 1, 21) COMMA21, INSTR(ROW_VALUE, '~', 1, 22) COMMA22, INSTR(ROW_VALUE, '~', 1, 23) COMMA23, INSTR(ROW_VALUE, '~', 1, 24) COMMA24, INSTR(ROW_VALUE, '~', 1, 25) COMMA25, INSTR(ROW_VALUE, '~', 1, 26) COMMA26, INSTR(ROW_VALUE, '~', 1, 27) COMMA27, INSTR(ROW_VALUE, '~', 1, 28) COMMA28, INSTR(ROW_VALUE, '~', 1, 29)
COMMA29, INSTR(ROW_VALUE, '~', 1, 30) COMMA30, INSTR(ROW_VALUE, '~', 1, 31) COMMA31, INSTR(ROW_VALUE, '~', 1, 32) COMMA32, INSTR(ROW_VALUE, '~', 1, 33) COMMA33, INSTR(ROW_VALUE, '~', 1, 34) COMMA34, INSTR(ROW_VALUE, '~', 1, 35) COMMA35, INSTR(ROW_VALUE, '~', 1, 36) COMMA36, INSTR(ROW_VALUE, '~', 1, 37) COMMA37, INSTR(ROW_VALUE, '~', 1, 38) COMMA38, INSTR(ROW_VALUE, '~', 1, 39) COMMA39, INSTR(ROW_VALUE, '~', 1, 40) COMMA40, INSTR(ROW_VALUE, '~', 1,
41) COMMA41, INSTR(ROW_VALUE, '~', 1, 42) COMMA42, INSTR(ROW_VALUE, '~', 1, 43) COMMA43, INSTR(ROW_VALUE, '~', 1, 44) COMMA44, INSTR(ROW_VALUE, '~', 1, 45) COMMA45, INSTR(ROW_VALUE, '~', 1, 46) COMMA46, INSTR(ROW_VALUE, '~', 1, 47) COMMA47, INSTR(ROW_VALUE, '~', 1, 48) COMMA48, INSTR(ROW_VALUE, '~', 1, 49) COMMA49, INSTR(ROW_VALUE, '~', 1, 50) COMMA50, INSTR(ROW_VALUE, '~', 1, 51) COMMA51, INSTR(ROW_VALUE, '~', 1, 52) COMMA52, INSTR(ROW_VALUE, '~',
1, 53) COMMA53, INSTR(ROW_VALUE, '~', 1, 54) COMMA54, INSTR(ROW_VALUE, '~', 1, 55) COMMA55, INSTR(ROW_VALUE, '~', 1, 56) COMMA56, INSTR(ROW_VALUE, '~', 1, 57) COMMA57, INSTR(ROW_VALUE, '~', 1, 58) COMMA58, INSTR(ROW_VALUE, '~', 1, 59) COMMA59, INSTR(ROW_VALUE, '~', 1, 60) COMMA60, INSTR(ROW_VALUE, '~', 1, 61) COMMA61, INSTR(ROW_VALUE, '~', 1, 62) COMMA62, INSTR(ROW_VALUE, '~', 1, 63) COMMA63, INSTR(ROW_VALUE, '~', 1, 64) COMMA64, INSTR(ROW_VALUE, '
~', 1, 65) COMMA65, INSTR(ROW_VALUE, '~', 1, 66) COMMA66, INSTR(ROW_VALUE, '~', 1, 67) COMMA67, INSTR(ROW_VALUE, '~', 1, 68) COMMA68, INSTR(ROW_VALUE, '~', 1, 69) COMMA69, INSTR(ROW_VALUE, '~', 1, 70) COMMA70, INSTR(ROW_VALUE, '~', 1, 71) COMMA71, INSTR(ROW_VALUE, '~', 1, 72) COMMA72, INSTR(ROW_VALUE, '~', 1, 73) COMMA73, INSTR(ROW_VALUE, '~', 1, 74) COMMA74, INSTR(ROW_VALUE, '~', 1, 75) COMMA75, INSTR(ROW_VALUE, '~', 1, 76) COMMA76, INSTR(ROW_VALUE
, '~', 1, 77) COMMA77, INSTR(ROW_VALUE, '~', 1, 78) COMMA78, INSTR(ROW_VALUE, '~', 1, 79) COMMA79, INSTR(ROW_VALUE, '~', 1, 80) COMMA80, INSTR(ROW_VALUE, '~', 1, 81) COMMA81, INSTR(ROW_VALUE, '~', 1, 82) COMMA82, INSTR(ROW_VALUE, '~', 1, 83) COMMA83, INSTR(ROW_VALUE, '~', 1, 84) COMMA84, INSTR(ROW_VALUE, '~', 1, 85) COMMA85, INSTR(ROW_VALUE, '~', 1, 86) COMMA86, INSTR(ROW_VALUE, '~', 1, 87) COMMA87, INSTR(ROW_VALUE, '~', 1, 88) COMMA88, INSTR(ROW_V
ALUE, '~', 1, 89) COMMA89, INSTR(ROW_VALUE, '~', 1, 90) COMMA90, INSTR(ROW_VALUE, '~', 1, 91) COMMA91, INSTR(ROW_VALUE, '~', 1, 92) COMMA92, INSTR(ROW_VALUE, '~', 1, 93) COMMA93, INSTR(ROW_VALUE, '~', 1, 94) COMMA94, INSTR(ROW_VALUE, '~', 1, 95) COMMA95, INSTR(ROW_VALUE, '~', 1, 96) COMMA96, INSTR(ROW_VALUE, '~', 1, 97) COMMA97, INSTR(ROW_VALUE, '~', 1, 98) COMMA98, INSTR(ROW_VALUE, '~', 1, 99) COMMA99, INSTR(ROW_VALUE, '~', 1, 100) COMMA100, INSTR
(ROW_VALUE, '~', 1, 101) COMMA101, INSTR(ROW_VALUE, '~', 1, 102) COMMA102, INSTR(ROW_VALUE, '~', 1, 103) COMMA103, INSTR(ROW_VALUE, '~', 1, 104) COMMA104, INSTR(ROW_VALUE, '~', 1, 105) COMMA105, INSTR(ROW_VALUE, '~', 1, 106) COMMA106, INSTR(ROW_VALUE, '~', 1, 107) COMMA107, INSTR(ROW_VALUE, '~', 1, 108) COMMA108, INSTR(ROW_VALUE, '~', 1, 109) COMMA109, INSTR(ROW_VALUE, '~', 1, 110) COMMA110, INSTR(ROW_VALUE, '~', 1, 111) COMMA111, INSTR(ROW_VALUE, '~'
, 1, 112) COMMA112, INSTR(ROW_VALUE, '~', 1, 113) COMMA113, INSTR(ROW_VALUE, '~', 1, 114) COMMA114, INSTR(ROW_VALUE, '~', 1, 115) COMMA115, INSTR(ROW_VALUE, '~', 1, 116) COMMA116, INSTR(ROW_VALUE, '~', 1, 117) COMMA117, INSTR(ROW_VALUE, '~', 1, 118) COMMA118, INSTR(ROW_VALUE, '~', 1, 119) COMMA119, INSTR(ROW_VALUE, '~', 1, 120) COMMA120, INSTR(ROW_VALUE, '~', 1, 121) COMMA121, INSTR(ROW_VALUE, '~', 1, 122) COMMA122, INSTR(ROW_VALUE, '~', 1, 123) COMM
A123, INSTR(ROW_VALUE, '~', 1, 124) COMMA124, INSTR(ROW_VALUE, '~', 1, 125) COMMA125, INSTR(ROW_VALUE, '~', 1, 126) COMMA126, INSTR(ROW_VALUE, '~', 1, 127) COMMA127, INSTR(ROW_VALUE, '~', 1, 128) COMMA128, INSTR(ROW_VALUE, '~', 1, 129) COMMA129, INSTR(ROW_VALUE, '~', 1, 130) COMMA130, INSTR(ROW_VALUE, '~', 1, 131) COMMA131, INSTR(ROW_VALUE, '~', 1, 132) COMMA132, INSTR(ROW_VALUE, '~', 1, 133) COMMA133, INSTR(ROW_VALUE, '~', 1, 134) COMMA134, INSTR(ROW
_VALUE, '~', 1, 135) COMMA135, INSTR(ROW_VALUE, '~', 1, 136) COMMA136, INSTR(ROW_VALUE, '~', 1, 137) COMMA137, INSTR(ROW_VALUE, '~', 1, 138) COMMA138, INSTR(ROW_VALUE, '~', 1, 139) COMMA139, INSTR(ROW_VALUE, '~', 1, 140) COMMA140, INSTR(ROW_VALUE, '~', 1, 141) COMMA141, INSTR(ROW_VALUE, '~', 1, 142) COMMA142, INSTR(ROW_VALUE, '~', 1, 143) COMMA143, INSTR(ROW_VALUE, '~', 1, 144) COMMA144, INSTR(ROW_VALUE, '~', 1, 145) COMMA145, INSTR(ROW_VALUE, '~', 1
, 146) COMMA146, INSTR(ROW_VALUE, '~', 1, 147) COMMA147, INSTR(ROW_VALUE, '~', 1, 148) COMMA148, INSTR(ROW_VALUE, '~', 1, 149) COMMA149, INSTR(ROW_VALUE, '~', 1, 150) COMMA150, INSTR(ROW_VALUE, '~', 1, 151) COMMA151, INSTR(ROW_VALUE, '~', 1, 152) COMMA152, INSTR(ROW_VALUE, '~', 1, 153) COMMA153, INSTR(ROW_VALUE, '~', 1, 154) COMMA154, INSTR(ROW_VALUE, '~', 1, 155) COMMA155, INSTR(ROW_VALUE, '~', 1, 156) COMMA156, INSTR(ROW_VALUE, '~', 1, 157) COMMA157
, INSTR(ROW_VALUE, '~', 1, 158) COMMA158, INSTR(ROW_VALUE, '~', 1, 159) COMMA159, INSTR(ROW_VALUE, '~', 1, 160) COMMA160, INSTR(ROW_VALUE, '~', 1, 161) COMMA161, INSTR(ROW_VALUE, '~', 1, 162) COMMA162, INSTR(ROW_VALUE, '~', 1, 163) COMMA163, INSTR(ROW_VALUE, '~', 1, 164) COMMA164, INSTR(ROW_VALUE, '~', 1, 165) COMMA165, INSTR(ROW_VALUE, '~', 1, 166) COMMA166, INSTR(ROW_VALUE, '~', 1, 167) COMMA167, INSTR(ROW_VALUE, '~', 1, 168) COMMA168, INSTR(ROW_VAL
UE, '~', 1, 169) COMMA169, INSTR(ROW_VALUE, '~', 1, 170) COMMA170, INSTR(ROW_VALUE, '~', 1, 171) COMMA171, INSTR(ROW_VALUE, '~', 1, 172) COMMA172, INSTR(ROW_VALUE, '~', 1, 173) COMMA173, INSTR(ROW_VALUE, '~', 1, 174) COMMA174, INSTR(ROW_VALUE, '~', 1, 175) COMMA175, INSTR(ROW_VALUE, '~', 1, 176) COMMA176, INSTR(ROW_VALUE, '~', 1, 177) COMMA177, INSTR(ROW_VALUE, '~', 1, 178) COMMA178, INSTR(ROW_VALUE, '~', 1, 179) COMMA179, INSTR(ROW_VALUE, '~', 1, 1
80) COMMA180, INSTR(ROW_VALUE, '~', 1, 181) COMMA181, INSTR(ROW_VALUE, '~', 1, 182) COMMA182, INSTR(ROW_VALUE, '~', 1, 183) COMMA183, INSTR(ROW_VALUE, '~', 1, 184) COMMA184, INSTR(ROW_VALUE, '~', 1, 185) COMMA185, INSTR(ROW_VALUE, '~', 1, 186) COMMA186, INSTR(ROW_VALUE, '~', 1, 187) COMMA187, INSTR(ROW_VALUE, '~', 1, 188) COMMA188, INSTR(ROW_VALUE, '~', 1, 189) COMMA189, INSTR(ROW_VALUE, '~', 1, 190) COMMA190, INSTR(ROW_VALUE, '~', 1, 191) COMMA191, I
NSTR(ROW_VALUE, '~', 1, 192) COMMA192, INSTR(ROW_VALUE, '~', 1, 193) COMMA193, INSTR(ROW_VALUE, '~', 1, 194) COMMA194, INSTR(ROW_VALUE, '~', 1, 195) COMMA195, INSTR(ROW_VALUE, '~', 1, 196) COMMA196, INSTR(ROW_VALUE, '~', 1, 197) COMMA197, INSTR(ROW_VALUE, '~', 1, 198) COMMA198, INSTR(ROW_VALUE, '~', 1, 199) COMMA199, INSTR(ROW_VALUE, '~', 1, 200) COMMA200, INSTR(ROW_VALUE, '~', 1, 201) COMMA201, INSTR(ROW_VALUE, '~', 1, 202) COMMA202, INSTR(ROW_VALUE,
'~', 1, 203) COMMA203, INSTR(ROW_VALUE, '~', 1, 204) COMMA204, INSTR(ROW_VALUE, '~', 1, 205) COMMA205, INSTR(ROW_VALUE, '~', 1, 206) COMMA206, INSTR(ROW_VALUE, '~', 1, 207) COMMA207, INSTR(ROW_VALUE, '~', 1, 208) COMMA208, INSTR(ROW_VALUE, '~', 1, 209) COMMA209, INSTR(ROW_VALUE, '~', 1, 210) COMMA210, INSTR(ROW_VALUE, '~', 1, 211) COMMA211, INSTR(ROW_VALUE, '~', 1, 212) COMMA212, INSTR(ROW_VALUE, '~', 1, 213) COMMA213, INSTR(ROW_VALUE, '~', 1, 214)
COMMA214, INSTR(ROW_VALUE, '~', 1, 215) COMMA215, INSTR(ROW_VALUE, '~', 1, 216) COMMA216, INSTR(ROW_VALUE, '~', 1, 217) COMMA217, INSTR(ROW_VALUE, '~', 1, 218) COMMA218, INSTR(ROW_VALUE, '~', 1, 219) COMMA219, INSTR(ROW_VALUE, '~', 1, 220) COMMA220, INSTR(ROW_VALUE, '~', 1, 221) COMMA221, INSTR(ROW_VALUE, '~', 1, 222) COMMA222, INSTR(ROW_VALUE, '~', 1, 223) COMMA223, INSTR(ROW_VALUE, '~', 1, 224) COMMA224, INSTR(ROW_VALUE, '~', 1, 225) COMMA225, INSTR
(ROW_VALUE, '~', 1, 226) COMMA226, INSTR(ROW_VALUE, '~', 1, 227) COMMA227, LENGTH(ROW_VALUE) + 1 COMMA228, ROW_VALUE FROM (SELECT :B2 ROW_VALUE FROM DUAL))) WHERE TP_INVESTIGATION_ID = :B1 |
0xj02vtccvs3g |
SELECT B.NODE_ID, B.PROC_ID, B.CASENUM, B.STEPNAME, B.TAT_FLAG, B.CUST_CATEGORY, POLICY_ID "Policy Id", CLAIM_REF_NO "Claim Ref No", POLICY_NO "Policy No", REQUEST_NAME "Request", REQUEST_TYPE "Request Type", INTIMATION_NOL "Intimation Nol", hub_code "Hub Code", REQ_SUB_TYPE_DESC "Request Sub Type", req_sub_type "Req Sub type id" , reqid "RequestID", phy_chq_stat "Physical Cheque Received", pay_id "PayId" FROM (SELECT A.*, CSI.CASEDESC, ROWNUM RNUM FROM (SELECT OM.NODE_ID, OM.PROC_ID, OM
.CASE_NAME CASENUM, OM.STEP_NAME STEPNAME, TAT_FLAG, CUST_CATEGORY, POLICY_ID, CLAIM_REF_NO, POLICY_NO, REQUEST_NAME, REQUEST_TYPE, INTIMATION_NOL, HUB_CODE, REQ_SUB_TYPE_DESC, req_sub_type , reqid, phy_chq_stat, Pay_Id FROM SWPRO.DUMMY_CHK_LEVEL OM, VW_REQUESTS TC WHERE OM.NODE_ID = TC.NODE_ID AND OM.PROC_ID = TC.PROC_ID AND OM.NODE_ID + OM.PROC_ID = TC.NODE_ID + TC.PROC_ID AND OM.CASE_REF_NO = TC.CLAIM_REF_NO AND OM.NODE_ID=1 AND OM.PROC_ID in (6, 12) AND (1=1) AND TC.INTIMATION_NOL || TC.
SUB_PRODUCT_ID IN (SELECT A.X || B.Y
FROM (SELECT T.LOOKUP_CODE "X"
FROM LOMB_MOTOR.MAS_LOOKUPS T,
LOMB_MOTOR.MAS_USER_MAPPING M
WHERE T.LOOKUP_ID = M.PARAM_VALUE
AND M.USER_ID = 502787
AND M.PARAM_ID = 'P002') A,
(SELECT M.PARAM_VALUE "Y"
F
ROM LOMB_MOTOR.MAS_USER_MAPPING M
WHERE M.USER_ID = 502787
AND M.PARAM_ID = 'P004') B) AND ((REQUEST_TYPE IN (9, 10)) OR
(REQUEST_TYPE IN
( SELECT TO_NUMBER(T.LOOKUP_CODE)
FROM MAS_USER_MAPPING TT, MAS_LOOKUPS T
WHERE TT.PARAM_ID = 'P012'
AND TT.PARAM_VALUE > 0
AND TT.PARAM_VALUE = T.LOOKUP_ID
AND DECODE(TT.PARAM_ID, 'P012', 1, 0) = 1
AND TT.USER_ID = 502787 ))) AND DECODE(OM.STEP_NAME, 'REQCPU', 1, 0)=1 ) A, lomb_motor.Z_CASESTATUSINFO CSI WHERE A.NODE_ID=CSI.NODE_ID (+) AND A.PROC_ID=CSI.PROC_ID(+) AND A.CLAIM_REF_NO=CSI.CASEDESC(+) AND A.STEPNAME=CSI.STEPNAME(+) AND DECODE(CSI.CASEDESC, NULL, 1, 0)=1 AND ROWNUM<=20) B WHERE RNUM>=1
|
1jj2jgjss8nqa | begin USP_MOT_CLAIM_ASSIGNMENT(P_POLICY_ID=>:P_POLICY_ID, P_Load_sharing=>:P_Load_sharing, P_Cursor=>:P_Cursor, P_Error_No=>:P_Error_No); end; |
1juktrwcq4h96 | begin USP_HTH_ROLE_RIGHT_MAPPING(p_user_id=>:p_user_id, P_STEP_ID=>:P_STEP_ID, P_Cursor=>:P_Cursor, P_Error_No=>:P_Error_No); end; |
1z33n0m4f26xa |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN COINSURER_NAME6 IS NOT NULL THEN
CASE WHEN CO_INSURANCE_PERC6 IS NULL THEN
ERROR_DESC ||'-CO_INSURANCE_PERC6 is null when (coinsurer_name6 is not null)'
WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC6, '^[[:digit:]]+$') THEN
ERROR_DESC ||'-CO_INSURANCE_PERC6 not valid number'
W
HEN CO_INSURANCE_PERC6 > 100 THEN
ERROR_DESC ||'-CO_INSURANCE_PERC6 cannot Exceed 100'
WHEN LENGTH(TRIM(CO_INSURANCE_PERC6)) >
(SELECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CO_INSURANCE_PERC6') THEN
ERRO
R_DESC ||'-CO_INSURANCE_PERC6 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN CO_INSURANCE_PERC6 IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC6, '^[[:digit:]]+$') THEN
ERROR_DESC ||'-CO_INSURANCE_PERC6 not valid number'
WHEN CO_INSURANCE_PERC6 > 100 THEN
ERROR_DESC ||'-CO_INSURANCE_PERC6 cannot Exceed 100'
WHEN LENGTH(TRIM(CO_INSURANCE_PERC6)) >
(SELECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN
_NAME = 'CO_INSURANCE_PERC6') THEN
ERROR_DESC ||'-CO_INSURANCE_PERC6 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN COINSURER_NAME6 I
S NOT NULL THEN
CASE WHEN CO_INSURANCE_PERC6 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC6, '^[[:digit:]]+$') THEN
ERROR_CNT + 1
WHEN CO_INSURANCE_PERC6 > 100 THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(CO_INSURANCE_PERC6)) >
(SE
LECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CO_INSURANCE_PERC6') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN CO_INSURANCE_PERC6 IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC6, '^[[:digit:]]+$') THEN
ERROR_CNT + 1
WHEN CO_INSURANCE_PERC6 > 100 THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(CO_INSURANCE_PERC6)) >
(SELECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CO_INSURANCE_PERC6') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
ERROR_CNT
END
END
WHERE FILE_ID =20323
|
20jkpn8r66nb5 |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN UPPER(CO_INSURER_STATUS) = 'FOLLOWER' THEN
CASE WHEN COINSURER_NAME2 IS NULL THEN
ERROR_DESC ||'-COINSURER_NAME2 is null when CO_INSURANCE_STATUS is FOLLOWER '
WHEN NOT REGEXP_LIKE(COINSURER_NAME2, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-COINSURER_NAME2 not valid alphanumeric'
WHEN LENGTH(TRI
M(COINSURER_NAME2)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME2') THEN
ERROR_DESC ||'-COINSURER_NAME2 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN CO_INSURANCE_PERC2 IS NOT NU
LL THEN
CASE WHEN COINSURER_NAME2 IS NULL THEN
ERROR_DESC ||'-COINSURER_NAME2 is null when (co_insurance_perc2 is not null)'
WHEN NOT REGEXP_LIKE(COINSURER_NAME2, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-COINSURER_NAME2 not valid alphanumeric'
WHEN LENGTH(TRIM(COINSURER_NAME2)) >
(S
ELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME2') THEN
ERROR_DESC ||'-COINSURER_NAME2 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN UPPER(CO_INSURER_STATUS) = 'FOLLOWER' THEN
CASE WHEN COINSURER_NAME2 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(COINSURER_NAME2, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(COINSURER_NAME2)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME2') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN CO_INSURANCE_PERC2 IS NOT NULL THEN
CASE WHEN COINSURER_NAME2 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(COINSURER_NAME2, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(COINSURER_NAME2)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME2') THEN
ERROR_CNT + 1
ELSE
ERROR_C
NT
END
ELSE
ERROR_CNT
END
END
WHERE COINSURER_NAME1 IS NULL AND COINSURER_NAME3 IS NULL AND COINSURER_NAME4 IS NULL AND COINSURER_NAME5 IS NULL AND COINSURER_NAME6 IS NULL AND COINSURER_NAME7 IS NULL AND FILE_ID =20321
|
22afcud2m8wp7 |
SELECT B.NODE_ID, B.PROC_ID, B.CASENUM, B.STEPNAME, B.TAT_FLAG, B.CUST_CATEGORY, POLICY_ID "Policy Id", CLAIM_REF_NO "Claim Ref No", POLICY_NO "Policy No", REQUEST_NAME "Request", REQUEST_TYPE "Request Type", INTIMATION_NOL "Intimation Nol", hub_code "Hub Code", REQ_SUB_TYPE_DESC "Request Sub Type", req_sub_type "Req Sub type id" , reqid "RequestID", phy_chq_stat "Physical Cheque Received", pay_id "PayId" FROM (SELECT A.*, CSI.CASEDESC, ROWNUM RNUM FROM (SELECT OM.NODE_ID, OM.PROC_ID, OM
.CASE_NAME CASENUM, OM.STEP_NAME STEPNAME, TAT_FLAG, CUST_CATEGORY, POLICY_ID, CLAIM_REF_NO, POLICY_NO, REQUEST_NAME, REQUEST_TYPE, INTIMATION_NOL, HUB_CODE, REQ_SUB_TYPE_DESC, req_sub_type , reqid, phy_chq_stat, Pay_Id FROM SWPRO.DUMMY_CHK_LEVEL OM, VW_REQUESTS TC WHERE OM.NODE_ID = TC.NODE_ID AND OM.PROC_ID = TC.PROC_ID AND OM.NODE_ID + OM.PROC_ID = TC.NODE_ID + TC.PROC_ID AND OM.CASE_REF_NO = TC.CLAIM_REF_NO AND OM.NODE_ID=1 AND OM.PROC_ID in (6, 12) AND (1=1) AND TC.INTIMATION_NOL || TC.
SUB_PRODUCT_ID IN (SELECT A.X || B.Y
FROM (SELECT T.LOOKUP_CODE "X"
FROM LOMB_MOTOR.MAS_LOOKUPS T,
LOMB_MOTOR.MAS_USER_MAPPING M
WHERE T.LOOKUP_ID = M.PARAM_VALUE
AND M.USER_ID = 500013
AND M.PARAM_ID = 'P002') A,
(SELECT M.PARAM_VALUE "Y"
F
ROM LOMB_MOTOR.MAS_USER_MAPPING M
WHERE M.USER_ID = 500013
AND M.PARAM_ID = 'P004') B) AND ((REQUEST_TYPE IN (9, 10)) OR
(REQUEST_TYPE IN
( SELECT TO_NUMBER(T.LOOKUP_CODE)
FROM MAS_USER_MAPPING TT, MAS_LOOKUPS T
WHERE TT.PARAM_ID = 'P012'
AND TT.PARAM_VALUE > 0
AND TT.PARAM_VALUE = T.LOOKUP_ID
AND DECODE(TT.PARAM_ID, 'P012', 1, 0) = 1
AND TT.USER_ID = 500013 ))) AND DECODE(OM.STEP_NAME, 'REQCPU', 1, 0)=1 ) A, lomb_motor.Z_CASESTATUSINFO CSI WHERE A.NODE_ID=CSI.NODE_ID (+) AND A.PROC_ID=CSI.PROC_ID(+) AND A.CLAIM_REF_NO=CSI.CASEDESC(+) AND A.STEPNAME=CSI.STEPNAME(+) AND DECODE(CSI.CASEDESC, NULL, 1, 0)=1 AND ROWNUM<=20) B WHERE RNUM>=1
|
23x5bug3s6r3u |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN UPPER(HEA_TYPE) IN ('CASHLESS') THEN
CASE WHEN AL_NUMBER IS NULL THEN
CASE WHEN HEA_TYPE = '1' THEN
ERROR_DESC ||'-AL_NUMBER is null'
ELSE
ERROR_DESC ||'-AL_NUMBER is null when hea_type is (cashless)'
END
WHEN NOT REGEXP_LIKE(AL_NUMBER, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-AL_NUMBER not proper'
WHEN LENGTH(TRIM(AL_NUMBER)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'AL_NUMBER') THEN
ERROR_DESC ||'-AL_NUMBER data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN AL_NUMBER IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(AL_NUMBER, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-AL_NUMBER not prope
r'
WHEN LENGTH(TRIM(AL_NUMBER)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'AL_NUMBER') THEN
ERROR_DESC ||'-AL_NUMBER data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN UPPER(HEA_TYPE) IN ('CASHLESS') THEN
CASE WHEN AL_NUMBER IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(AL_NUMBER, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(AL_NUMBER)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'AL_NUMBER') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN AL_NUMBER IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(AL_NUMBER, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(AL_NUMBER)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'AL_NUMBER') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
ERROR_CNT
END
END
/*WHERE UPPER(HEA_TYPE) IN ('CASHLESS')*/
WHERE FILE_ID =20321 |
2ar1vcgwbms9y |
SELECT COUNT(*) FROM MOT_LAES A, MAS_EXT_BLOCK_ASSIGNMENT B, MAS_INVESTIGATION_BLOCK C, DUMMY_CHK_LEVEL DCL WHERE A.LAE_CASEREFNO = B.CLAIM_REF_NO AND A.POLICY_ID = B.POLICY_ID AND B.ACTIVE_FLAG = 'Y' AND A.ACTIVE_FLAG = 'Y' AND C.ACTIVE_FLAG = 'Y' AND B.BLOCK_ID = C.BLOCK_ID AND A.CSM_SURVEYOR_USER_ID = B.EXT_USER_ID AND A.AGENCY_CASEREFNO = DCL.CASE_REF_NO AND UPPER(A.LAE_CASEREFNO) = UPPER(:B1 )
|
2m0m3ys3rxmy9 |
UPDATE MOT_ICD_THEFTS SET (MODIFIED_DATE, INVESTIGATOR_NAME, CSM_NAME, ALLOCATION_DATE, FIRST_CONTACT_DATE, SUBMISSION_DATE, LOSS_DATE, LOSS_TIME, LOSS_LOCATION, LOSS_CITY, LOSS_STATE, INSURED_NAME, INSURED_CITY, TEL, INSURED_STATE, MOBILE_NO, PROFESSION, ANNUAL_INCOME, POLICY_STATUS, RENEWAL, ENGINE_NO_AS_PER_POLICY, CHASSIS_NO_POLICY, ENGINE_NO, CHASSIS_NO, VECHILE_MAKE, VECHILE_MODEL, FIR_DATE, NEXUS_DELAY_DAYS, POLICE_STATION_NAME, FIR_CITY, FIR_STATE, VEHICLE_L
OCKED, IL_INTIMATION_DATE, INTIMATIONNEXUS_DELAY_DAYS, DEALER_NAME, FINANCER_NAME, PURCHASE_CITY, PURCHASE_STATE, INVOICE_DATE, INVOICE_VALUE, REPOSSESSED_VEHICLE, GARAGE_NAME, LAST_SERVICE_DATE, KM_AT_THEFT_TIME, SERVICE_BOOKLET, KEY_AVAILABLE, TOTAL_KEY, ORIGINAL_RC, INVESTIGATOR_RECOMMENDATION, CSM_RECOMMANDATION, ICD_THEFT_REMARK, ACTIVE_FLAG, CLAIM_OWNER, STEP_NAME) = (SELECT SYSDATE, SUBSTR (ROW_VALUE, COMMA1 + 1, COMMA2 - COMMA1 - 1 ) C2, SUBSTR (ROW_VALUE, COMMA2
+ 1, COMMA3 - COMMA2 - 1 ) C3, SUBSTR (ROW_VALUE, COMMA3 + 1, COMMA4 - COMMA3 - 1 ) C4, SUBSTR (ROW_VALUE, COMMA4 + 1, COMMA5 - COMMA4 - 1 ) C5, SUBSTR (ROW_VALUE, COMMA5 + 1, COMMA6 - COMMA5 - 1 ) C6, SUBSTR (ROW_VALUE, COMMA6 + 1, COMMA7 - COMMA6 - 1 ) C7, SUBSTR (ROW_VALUE, COMMA7 + 1, COMMA8 - COMMA7 - 1 ) C8, SUBSTR (ROW_VALUE, COMMA8 + 1, COMMA9 - COMMA8 - 1 ) C9, SUBSTR (ROW_VALUE, COMMA9 + 1, COMMA10 - COMMA9 - 1 ) C10, SUBSTR (ROW_VALUE, COMMA10 + 1, COMMA11 - C
OMMA10 - 1 ) C11, SUBSTR (ROW_VALUE, COMMA11 + 1, COMMA12 - COMMA11 - 1 ) C12, SUBSTR (ROW_VALUE, COMMA12 + 1, COMMA13 - COMMA12 - 1 ) C13, SUBSTR (ROW_VALUE, COMMA13 + 1, COMMA14 - COMMA13 - 1 ) C14, SUBSTR (ROW_VALUE, COMMA14 + 1, COMMA15 - COMMA14 - 1 ) C15, SUBSTR (ROW_VALUE, COMMA15 + 1, COMMA16 - COMMA15 - 1 ) C16, SUBSTR (ROW_VALUE, COMMA16 + 1, COMMA17 - COMMA16 - 1 ) C17, SUBSTR (ROW_VALUE, COMMA17 + 1, COMMA18 - COMMA17 - 1 ) C18, SUBSTR (ROW_VALUE, COMMA18 + 1,
COMMA19 - COMMA18 - 1 ) C19, SUBSTR (ROW_VALUE, COMMA19 + 1, COMMA20 - COMMA19 - 1 ) C20, SUBSTR (ROW_VALUE, COMMA20 + 1, COMMA21 - COMMA20 - 1 ) C21, SUBSTR (ROW_VALUE, COMMA21 + 1, COMMA22 - COMMA21 - 1 ) C22, SUBSTR (ROW_VALUE, COMMA22 + 1, COMMA23 - COMMA22 - 1 ) C23, SUBSTR (ROW_VALUE, COMMA23 + 1, COMMA24 - COMMA23 - 1 ) C24, SUBSTR (ROW_VALUE, COMMA24 + 1, COMMA25 - COMMA24 - 1 ) C25, SUBSTR (ROW_VALUE, COMMA25 + 1, COMMA26 - COMMA25 - 1 ) C26, SUBSTR (ROW_VALUE, C
OMMA26 + 1, COMMA27 - COMMA26 - 1 ) C27, SUBSTR (ROW_VALUE, COMMA27 + 1, COMMA28 - COMMA27 - 1 ) C28, SUBSTR (ROW_VALUE, COMMA28 + 1, COMMA29 - COMMA28 - 1 ) C29, SUBSTR (ROW_VALUE, COMMA29 + 1, COMMA30 - COMMA29 - 1 ) C30, SUBSTR (ROW_VALUE, COMMA30 + 1, COMMA31 - COMMA30 - 1 ) C31, SUBSTR (ROW_VALUE, COMMA31 + 1, COMMA32 - COMMA31 - 1 ) C32, SUBSTR (ROW_VALUE, COMMA32 + 1, COMMA33 - COMMA32 - 1 ) C33, SUBSTR (ROW_VALUE, COMMA33 + 1, COMMA34 - COMMA33 - 1 ) C34, SUBSTR (R
OW_VALUE, COMMA34 + 1, COMMA35 - COMMA34 - 1 ) C35, SUBSTR (ROW_VALUE, COMMA35 + 1, COMMA36 - COMMA35 - 1 ) C36, SUBSTR (ROW_VALUE, COMMA36 + 1, COMMA37 - COMMA36 - 1 ) C37, SUBSTR (ROW_VALUE, COMMA37 + 1, COMMA38 - COMMA37 - 1 ) C38, SUBSTR (ROW_VALUE, COMMA38 + 1, COMMA39 - COMMA38 - 1 ) C39, SUBSTR (ROW_VALUE, COMMA39 + 1, COMMA40 - COMMA39 - 1 ) C40, SUBSTR (ROW_VALUE, COMMA40 + 1, COMMA41 - COMMA40 - 1 ) C41, SUBSTR (ROW_VALUE, COMMA41 + 1, COMMA42 - COMMA41 - 1 ) C42
, SUBSTR (ROW_VALUE, COMMA42 + 1, COMMA43 - COMMA42 - 1 ) C43, SUBSTR (ROW_VALUE, COMMA43 + 1, COMMA44 - COMMA43 - 1 ) C44, SUBSTR (ROW_VALUE, COMMA44 + 1, COMMA45 - COMMA44 - 1 ) C45, SUBSTR (ROW_VALUE, COMMA45 + 1, COMMA46 - COMMA45 - 1 ) C46, SUBSTR (ROW_VALUE, COMMA46 + 1, COMMA47 - COMMA46 - 1 ) C47, SUBSTR (ROW_VALUE, COMMA47 + 1, COMMA48 - COMMA47 - 1 ) C48, SUBSTR (ROW_VALUE, COMMA48 + 1, COMMA49 - COMMA48 - 1 ) C49, SUBSTR (ROW_VALUE, COMMA49 + 1, COMMA50 - COMMA
49 - 1 ) C50, SUBSTR (ROW_VALUE, COMMA50 + 1, COMMA51 - COMMA50 - 1 ) C51, SUBSTR (ROW_VALUE, COMMA51 + 1, COMMA52 - COMMA51 - 1 ) C52, SUBSTR (ROW_VALUE, COMMA52 + 1, COMMA53 - COMMA52 - 1 ) C53, SUBSTR (ROW_VALUE, COMMA53 + 1, COMMA54 - COMMA53 - 1 ) C54 FROM (SELECT INSTR (ROW_VALUE, '~', 1, 1) COMMA1, INSTR (ROW_VALUE, '~', 1, 2) COMMA2, INSTR (ROW_VALUE, '~', 1, 3) COMMA3, INSTR (ROW_VALUE, '~', 1, 4) COMMA4, INSTR (ROW_VALUE, '~', 1, 5) COMMA5, INSTR (ROW_VA
LUE, '~', 1, 6) COMMA6, INSTR (ROW_VALUE, '~', 1, 7) COMMA7, INSTR (ROW_VALUE, '~', 1, 8) COMMA8, INSTR (ROW_VALUE, '~', 1, 9) COMMA9, INSTR (ROW_VALUE, '~', 1, 10) COMMA10, INSTR (ROW_VALUE, '~', 1, 11) COMMA11, INSTR (ROW_VALUE, '~', 1, 12) COMMA12, INSTR (ROW_VALUE, '~', 1, 13) COMMA13, INSTR (ROW_VALUE, '~', 1, 14) COMMA14, INSTR (ROW_VALUE, '~', 1, 15) COMMA15, INSTR (ROW_VALUE, '~', 1, 16) COMMA16, INSTR (ROW_VALUE, '~', 1, 17) COMMA17, INSTR
(ROW_VALUE, '~', 1, 18) COMMA18, INSTR (ROW_VALUE, '~', 1, 19) COMMA19, INSTR (ROW_VALUE, '~', 1, 20) COMMA20, INSTR (ROW_VALUE, '~', 1, 21) COMMA21, INSTR (ROW_VALUE, '~', 1, 22) COMMA22, INSTR (ROW_VALUE, '~', 1, 23) COMMA23, INSTR (ROW_VALUE, '~', 1, 24) COMMA24, INSTR (ROW_VALUE, '~', 1, 25) COMMA25, INSTR (ROW_VALUE, '~', 1, 26) COMMA26, INSTR (ROW_VALUE, '~', 1, 27) COMMA27, INSTR (ROW_VALUE, '~', 1, 28) COMMA28, INSTR (ROW_VALUE, '~', 1, 29)
COMMA29, INSTR (ROW_VALUE, '~', 1, 30) COMMA30, INSTR (ROW_VALUE, '~', 1, 31) COMMA31, INSTR (ROW_VALUE, '~', 1, 32) COMMA32, INSTR (ROW_VALUE, '~', 1, 33) COMMA33, INSTR (ROW_VALUE, '~', 1, 34) COMMA34, INSTR (ROW_VALUE, '~', 1, 35) COMMA35, INSTR (ROW_VALUE, '~', 1, 36) COMMA36, INSTR (ROW_VALUE, '~', 1, 37) COMMA37, INSTR (ROW_VALUE, '~', 1, 38) COMMA38, INSTR (ROW_VALUE, '~', 1, 39) COMMA39, INSTR (ROW_VALUE, '~', 1, 40) COMMA40, INSTR (ROW_VALUE
, '~', 1, 41) COMMA41, INSTR (ROW_VALUE, '~', 1, 42) COMMA42, INSTR (ROW_VALUE, '~', 1, 43) COMMA43, INSTR (ROW_VALUE, '~', 1, 44) COMMA44, INSTR (ROW_VALUE, '~', 1, 45) COMMA45, INSTR (ROW_VALUE, '~', 1, 46) COMMA46, INSTR (ROW_VALUE, '~', 1, 47) COMMA47, INSTR (ROW_VALUE, '~', 1, 48) COMMA48, INSTR (ROW_VALUE, '~', 1, 49) COMMA49, INSTR (ROW_VALUE, '~', 1, 50) COMMA50, INSTR (ROW_VALUE, '~', 1, 51) COMMA51, INSTR (ROW_VALUE, '~', 1, 52) COMMA52,
INSTR (ROW_VALUE, '~', 1, 53) COMMA53, LENGTH (ROW_VALUE) + 1 COMMA54, ROW_VALUE FROM ROW_DUMPER_STRING)) WHERE POLICY_ID IN ( SELECT SUBSTR (ROW_VALUE, 1, COMMA1 - 1) C1 FROM (SELECT INSTR (ROW_VALUE, '~', 1, 1 ) COMMA1, INSTR (ROW_VALUE, '~', 1, 2 ) COMMA2, INSTR (ROW_VALUE, '~', 1, 3 ) COMMA3, INSTR (ROW_VALUE, '~', 1, 4 ) COMMA4, INSTR (ROW_VALUE, '~', 1, 5 ) COMMA5, INSTR (ROW_VALUE, '~', 1, 6 ) COMMA6, INSTR (ROW_VALUE, '~', 1, 7 ) COMMA7, INSTR (ROW_VALU
E, '~', 1, 8 ) COMMA8, INSTR (ROW_VALUE, '~', 1, 9 ) COMMA9, INSTR (ROW_VALUE, '~', 1, 10 ) COMMA10, INSTR (ROW_VALUE, '~', 1, 11 ) COMMA11, INSTR (ROW_VALUE, '~', 1, 12 ) COMMA12, INSTR (ROW_VALUE, '~', 1, 13 ) COMMA13, INSTR (ROW_VALUE, '~', 1, 14 ) COMMA14, INSTR (ROW_VALUE, '~', 1, 15 ) COMMA15, INSTR (ROW_VALUE, '~', 1, 16 ) COMMA16, INSTR (ROW_VALUE, '~', 1, 17 ) COMMA17, INSTR (ROW_VALUE, '~', 1, 18 ) COMMA18, INSTR (ROW_VALUE, '~', 1, 19 ) C
OMMA19, INSTR (ROW_VALUE, '~', 1, 20 ) COMMA20, INSTR (ROW_VALUE, '~', 1, 21 ) COMMA21, INSTR (ROW_VALUE, '~', 1, 22 ) COMMA22, INSTR (ROW_VALUE, '~', 1, 23 ) COMMA23, INSTR (ROW_VALUE, '~', 1, 24 ) COMMA24, INSTR (ROW_VALUE, '~', 1, 25 ) COMMA25, INSTR (ROW_VALUE, '~', 1, 26 ) COMMA26, INSTR (ROW_VALUE, '~', 1, 27 ) COMMA27, INSTR (ROW_VALUE, '~', 1, 28 ) COMMA28, INSTR (ROW_VALUE, '~', 1, 29 ) COMMA29, INSTR (ROW_VALUE, '~', 1, 30 ) COMMA30, INSTR (
ROW_VALUE, '~', 1, 31 ) COMMA31, INSTR (ROW_VALUE, '~', 1, 32 ) COMMA32, INSTR (ROW_VALUE, '~', 1, 33 ) COMMA33, INSTR (ROW_VALUE, '~', 1, 34 ) COMMA34, INSTR (ROW_VALUE, '~', 1, 35 ) COMMA35, INSTR (ROW_VALUE, '~', 1, 36 ) COMMA36, INSTR (ROW_VALUE, '~', 1, 37 ) COMMA37, INSTR (ROW_VALUE, '~', 1, 38 ) COMMA38, INSTR (ROW_VALUE, '~', 1, 39 ) COMMA39, INSTR (ROW_VALUE, '~', 1, 40 ) COMMA40, INSTR (ROW_VALUE, '~', 1, 41 ) COMMA41, INSTR (ROW_VALUE, '~',
1, 42 ) COMMA42, INSTR (ROW_VALUE, '~', 1, 43 ) COMMA43, INSTR (ROW_VALUE, '~', 1, 44 ) COMMA44, INSTR (ROW_VALUE, '~', 1, 45 ) COMMA45, INSTR (ROW_VALUE, '~', 1, 46 ) COMMA46, INSTR (ROW_VALUE, '~', 1, 47 ) COMMA47, INSTR (ROW_VALUE, '~', 1, 48 ) COMMA48, INSTR (ROW_VALUE, '~', 1, 49 ) COMMA49, INSTR (ROW_VALUE, '~', 1, 50 ) COMMA50, INSTR (ROW_VALUE, '~', 1, 51 ) COMMA51, INSTR (ROW_VALUE, '~', 1, 52 ) COMMA52, INSTR (ROW_VALUE, '~', 1, 53 ) COMMA
53, LENGTH (ROW_VALUE) + 1 COMMA54, ROW_VALUE FROM ROW_DUMPER_STRING)) |
2ppr9p9a7axt9 |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN FINAL_DIAG_CODE IS NOT NULL THEN
CASE WHEN FINAL_DIAG_CODE IS NULL THEN
ERROR_DESC ||'-FINAL_DIAG_CODE is null when (final_diag_code is not null)'
WHEN NOT REGEXP_LIKE(FINAL_DIAG_CODE, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-FINAL_DIAG_CODE not proper'
WHEN LENGT
H(TRIM(FINAL_DIAG_CODE)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'FINAL_DIAG_CODE') THEN
ERROR_DESC ||'-FINAL_DIAG_CODE data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN FINAL_DIAG_CODE IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(FINAL_DIAG_CODE, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-FINAL_DIAG_CODE not proper'
WHEN LENGTH(TRIM(FINAL_DIAG_CODE)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'FINAL_DIAG_CODE') THEN
ERROR_DESC ||'-FINAL_DIAG_CODE data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN FINAL_DIAG_CODE IS NOT NULL THEN
CASE WHEN FINAL_DIAG_CODE IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(FINAL_DIAG_CODE, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(FINAL_DIAG_CODE)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'FINAL_DIAG_CODE') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE W
HEN FINAL_DIAG_CODE IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(FINAL_DIAG_CODE, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(FINAL_DIAG_CODE)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABL
E_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'FINAL_DIAG_CODE') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
ERROR_CNT
END
END
WHERE FILE_ID =20323
|
2ytnzxcsw47b2 |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN COINSURER_NAME2 IS NOT NULL THEN
CASE WHEN CO_INSURANCE_PERC2 IS NULL THEN
ERROR_DESC ||'-CO_INSURANCE_PERC2 is null when (coinsurer_name2 is not null)'
WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC2, '^[[:digit:]]+$') THEN
ERROR_DESC ||'-CO_INSURANCE_PERC2 not valid number'
W
HEN CO_INSURANCE_PERC2 > 100 THEN
ERROR_DESC ||'-CO_INSURANCE_PERC2 cannot Exceed 100'
WHEN LENGTH(TRIM(CO_INSURANCE_PERC2)) >
(SELECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CO_INSURANCE_PERC2') THEN
ERRO
R_DESC ||'-CO_INSURANCE_PERC2 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN CO_INSURANCE_PERC2 IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC2, '^[[:digit:]]+$') THEN
ERROR_DESC ||'-CO_INSURANCE_PERC2 not valid number'
WHEN CO_INSURANCE_PERC2 > 100 THEN
ERROR_DESC ||'-CO_INSURANCE_PERC2 cannot Exceed 100'
WHEN LENGTH(TRIM(CO_INSURANCE_PERC2)) >
(SELECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN
_NAME = 'CO_INSURANCE_PERC2') THEN
ERROR_DESC ||'-CO_INSURANCE_PERC2 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN COINSURER_NAME2 I
S NOT NULL THEN
CASE WHEN CO_INSURANCE_PERC2 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC2, '^[[:digit:]]+$') THEN
ERROR_CNT + 1
WHEN CO_INSURANCE_PERC2 > 100 THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(CO_INSURANCE_PERC2)) >
(SE
LECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CO_INSURANCE_PERC2') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN CO_INSURANCE_PERC2 IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC2, '^[[:digit:]]+$') THEN
ERROR_CNT + 1
WHEN CO_INSURANCE_PERC2 > 100 THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(CO_INSURANCE_PERC2)) >
(SELECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CO_INSURANCE_PERC2') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
ERROR_CNT
END
END
WHERE FILE_ID =20323
|
36bp5cwj4dky7 |
SELECT COUNT(NODE_ID) FROM (SELECT A.*, CSI.CASEDESC, ROWNUM RNUM FROM (SELECT OM.NODE_ID, OM.PROC_ID, OM.CASE_NAME CASENUM, OM.STEP_NAME STEPNAME, TAT_FLAG, CUST_CATEGORY, POLICY_ID, CLAIM_REF_NO, POLICY_NO, REQUEST_NAME, REQUEST_TYPE, INTIMATION_NOL, HUB_CODE, REQ_SUB_TYPE_DESC, req_sub_type , reqid, phy_chq_stat, Pay_Id FROM SWPRO.DUMMY_CHK_LEVEL OM, VW_REQUESTS TC WHERE OM.NODE_ID = TC.NODE_ID AND OM.PROC_ID = TC.PROC_ID AND OM.NODE_ID + OM.PROC_ID = TC.NODE_ID + TC.PROC_ID AND OM.CASE_
REF_NO = TC.CLAIM_REF_NO AND OM.NODE_ID=1 AND OM.PROC_ID in (6, 12) AND (1=1) AND TC.INTIMATION_NOL || TC.SUB_PRODUCT_ID IN (SELECT A.X || B.Y
FROM (SELECT T.LOOKUP_CODE "X"
FROM LOMB_MOTOR.MAS_LOOKUPS T,
LOMB_MOTOR.MAS_USER_MAPPING M
WHERE T.LOOKUP_ID = M.PARAM_VALUE
AND M.USER_ID = 502787
AND M.PARAM_I
D = 'P002') A,
(SELECT M.PARAM_VALUE "Y"
FROM LOMB_MOTOR.MAS_USER_MAPPING M
WHERE M.USER_ID = 502787
AND M.PARAM_ID = 'P004') B) AND ((REQUEST_TYPE IN (9, 10)) OR
(REQUEST_TYPE IN
( SELECT TO_NUMBER(T.LOOKUP_CODE)
FROM MAS_USER_MAPPING TT, MAS_LOOKUPS T
WHERE TT.PARAM_ID = 'P012
'
AND TT.PARAM_VALUE > 0
AND TT.PARAM_VALUE = T.LOOKUP_ID
AND DECODE(TT.PARAM_ID, 'P012', 1, 0) = 1
AND TT.USER_ID = 502787 ))) AND DECODE(OM.STEP_NAME, 'REQCPU', 1, 0)=1 ) A, lomb_motor.Z_CASESTATUSINFO CSI WHERE A.NODE_ID=CSI.NODE_ID (+) AND A.PROC_ID=CSI.PROC_ID(+) AND A.CLAIM_REF_NO=CSI.CASEDESC(+) AND A.STEPNAME=CSI.STEPNAME(+) AND DECODE(CSI.CASEDESC, NULL, 1, 0)=1 ) B
|
3dhu4cpu0bxsx |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN UPPER(HEA_TYPE) IN ('CASHLESS') THEN
CASE WHEN NAME_HOSPITAL IS NULL THEN
CASE WHEN HEA_TYPE = '1' THEN
ERROR_DESC ||'-NAME_HOSPITAL is null'
ELSE
ERROR_DESC ||'-NAME_HOSPITAL is null when hea_type is (cashless)'
END
WHEN NOT REGEXP_LIKE(NAME_HOSPITAL, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-NAME_HOSPITAL not proper'
WHEN LENGTH(TRIM(NAME_HOSPITAL)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME
= 'NAME_HOSPITAL') THEN
ERROR_DESC ||'-NAME_HOSPITAL data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN NAME_HOSPITAL IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(NAME_HOSPITAL, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-NAME_HOSPITAL not proper'
WHEN LENGTH(TRIM(NAME_HOSPITAL)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'NAME_HOSPITAL') THEN
ERROR_DESC
||'-NAME_HOSPITAL data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN UPPER(HEA_TYPE) IN ('CASHLESS') THEN
CASE WHEN NAME_HOSPITAL IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(NAME_HOSPITAL, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(NAME_HOSPITAL)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'NAME_HOSPITAL') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN NAME_HOSPITAL IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(NAME_HOSPITAL, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(NAME_HOSPITAL))
>
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'NAME_HOSPITAL') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
ERROR_CNT
END
END
/*WHERE UPPER(HEA_TYPE) IN ('CASHLESS')*/
WHERE FILE_ID =20323 |
3kfjw1bauqdjw | SELECT PROCEDURE_NAME, RESULTSET_TYPE FROM DATA_ACCESS_LAYER_MM WHERE UPPER(STEP_NAME) = UPPER(:B2 ) AND UPPER(TRANSACTION_TYPE) = UPPER(:B1 ) |
3ua2ny1vgrg62 |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN FINAL_DIAG_CODE IS NOT NULL THEN
CASE WHEN FINAL_DIAG_CODE IS NULL THEN
ERROR_DESC ||'-FINAL_DIAG_CODE is null when (final_diag_code is not null)'
WHEN NOT REGEXP_LIKE(FINAL_DIAG_CODE, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-FINAL_DIAG_CODE not proper'
WHEN LENGT
H(TRIM(FINAL_DIAG_CODE)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'FINAL_DIAG_CODE') THEN
ERROR_DESC ||'-FINAL_DIAG_CODE data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN FINAL_DIAG_CODE IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(FINAL_DIAG_CODE, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-FINAL_DIAG_CODE not proper'
WHEN LENGTH(TRIM(FINAL_DIAG_CODE)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'FINAL_DIAG_CODE') THEN
ERROR_DESC ||'-FINAL_DIAG_CODE data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN FINAL_DIAG_CODE IS NOT NULL THEN
CASE WHEN FINAL_DIAG_CODE IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(FINAL_DIAG_CODE, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(FINAL_DIAG_CODE)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'FINAL_DIAG_CODE') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE W
HEN FINAL_DIAG_CODE IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(FINAL_DIAG_CODE, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(FINAL_DIAG_CODE)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABL
E_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'FINAL_DIAG_CODE') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
ERROR_CNT
END
END
WHERE FILE_ID =20322
|
40tgd3yhbk51y |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN COINSURER_NAME5 IS NOT NULL THEN
CASE WHEN CO_INSURANCE_PERC5 IS NULL THEN
ERROR_DESC ||'-CO_INSURANCE_PERC5 is null when (coinsurer_name5 is not null)'
WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC5, '^[[:digit:]]+$') THEN
ERROR_DESC ||'-CO_INSURANCE_PERC5 not valid number'
W
HEN CO_INSURANCE_PERC5 > 100 THEN
ERROR_DESC ||'-CO_INSURANCE_PERC5 cannot Exceed 100'
WHEN LENGTH(TRIM(CO_INSURANCE_PERC5)) >
(SELECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CO_INSURANCE_PERC5') THEN
ERRO
R_DESC ||'-CO_INSURANCE_PERC5 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN CO_INSURANCE_PERC5 IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC5, '^[[:digit:]]+$') THEN
ERROR_DESC ||'-CO_INSURANCE_PERC5 not valid number'
WHEN CO_INSURANCE_PERC5 > 100 THEN
ERROR_DESC ||'-CO_INSURANCE_PERC5 cannot Exceed 100'
WHEN LENGTH(TRIM(CO_INSURANCE_PERC5)) >
(SELECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN
_NAME = 'CO_INSURANCE_PERC5') THEN
ERROR_DESC ||'-CO_INSURANCE_PERC5 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN COINSURER_NAME5 I
S NOT NULL THEN
CASE WHEN CO_INSURANCE_PERC5 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC5, '^[[:digit:]]+$') THEN
ERROR_CNT + 1
WHEN CO_INSURANCE_PERC5 > 100 THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(CO_INSURANCE_PERC5)) >
(SE
LECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CO_INSURANCE_PERC5') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN CO_INSURANCE_PERC5 IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC5, '^[[:digit:]]+$') THEN
ERROR_CNT + 1
WHEN CO_INSURANCE_PERC5 > 100 THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(CO_INSURANCE_PERC5)) >
(SELECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CO_INSURANCE_PERC5') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
ERROR_CNT
END
END
WHERE FILE_ID =20322
|
42hbnagnzqrf8 | begin usp_select_all_block(p_claim_ref_no=>:p_claim_ref_no, P_Cursor=>:P_Cursor, P_Error_No=>:P_Error_No); end; |
47r1y8yn34jmj | select default$ from col$ where rowid=:1 |
4awj63m010uh7 |
SELECT COUNT(*) FROM MOT_CLAIM_POLICIES MC, MOT_INTIMATIONS MI, MOT_INT_GARAGES MG , MOT_INT_TPS MIT WHERE NVL(MC.CLAIM_REF_NO, 'A') LIKE DECODE(NVL(:B11 , 'A'), 'A', MC.CLAIM_REF_NO, :B11 ) AND NVL(UPPER(MC.POLICY_NO), 'A') LIKE DECODE(NVL(UPPER(:B10 ), 'A'), 'A', NVL(UPPER(MC.POLICY_NO), 'A'), UPPER(:B10 )) AND NVL(MC.COVER_NOTE_NO, 'A') LIKE DECODE(NVL(:B9 , 'A'), 'A', NVL(MC.COVER_NOTE_NO, 'A'), :B9 ) AND NVL(MI.VEHICLE_REG_NO, 'A') LIKE DECODE(NVL(:B8 , 'A'), 'A', NV
L(MI.VEHICLE_REG_NO, 'A'), :B8 ) AND NVL(MC.SUB_PRODUCT_ID, 0) = DECODE(NVL(:B7 , 0), 0, MC.SUB_PRODUCT_ID, :B7 ) AND NVL(MC.INTIMATION_NOL, 'A') LIKE DECODE(NVL(:B6 , 'A'), 'A', MC.INTIMATION_NOL, TRIM(:B6 )) AND UPPER(NVL(UDF_MAS_GARAGES(MG.GARAGE_ID), 'A')) LIKE DECODE(NVL(:B5 , 'A'), 'A', NVL(UPPER(UDF_MAS_GARAGES(MG.GARAGE_ID)), 'A'), :B5 || '%') AND UPPER(MC.INSURED_NAME) LIKE DECODE(NVL(:B4 , 'A'), 'A', UPPER(MC.INSURED_NAME), :B4 ) AND MC.INTIMATION_DT BETWEEN TO_DA
TE(:B3 , 'DD-MON-RRRR') AND TO_DATE(:B2 , 'DD-MON-RRRR') AND MI.POLICY_ID = MC.POLICY_ID AND MI.INTIMATION_ID = MG.INTIMATION_ID(+) AND MC.POLICY_ID = MIT.POLICY_ID(+) AND MC.ACTIVE_FLAG = 'Y' AND UPPER(NVL(MIT.COURT_CASE_NO, 'A')) = DECODE(NVL(:B1 , 'A'), 'A', UPPER(NVL(MIT.COURT_CASE_NO, 'A')), :B1 )
|
4m7m0t6fjcs5x | update seq$ set increment$=:2, minvalue=:3, maxvalue=:4, cycle#=:5, order$=:6, cache=:7, highwater=:8, audit$=:9, flags=:10 where obj#=:1 |
4n4usq62m1fz0 | begin USP_GET_PERSONAL_QUEUE_ID(P_QUEUE_NAME=>:P_QUEUE_NAME, P_CLAIM_REF_NO=>:P_CLAIM_REF_NO, P_USER_ID=>:P_USER_ID, P_ERROR_NO=>:P_ERROR_NO); end; |
4s5sqy43pdn8d |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN UPPER(HEA_TYPE) IN ('CASHLESS') THEN
CASE WHEN NAME_HOSPITAL IS NULL THEN
CASE WHEN HEA_TYPE = '1' THEN
ERROR_DESC ||'-NAME_HOSPITAL is null'
ELSE
ERROR_DESC ||'-NAME_HOSPITAL is null when hea_type is (cashless)'
END
WHEN NOT REGEXP_LIKE(NAME_HOSPITAL, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-NAME_HOSPITAL not proper'
WHEN LENGTH(TRIM(NAME_HOSPITAL)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME
= 'NAME_HOSPITAL') THEN
ERROR_DESC ||'-NAME_HOSPITAL data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN NAME_HOSPITAL IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(NAME_HOSPITAL, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-NAME_HOSPITAL not proper'
WHEN LENGTH(TRIM(NAME_HOSPITAL)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'NAME_HOSPITAL') THEN
ERROR_DESC
||'-NAME_HOSPITAL data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN UPPER(HEA_TYPE) IN ('CASHLESS') THEN
CASE WHEN NAME_HOSPITAL IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(NAME_HOSPITAL, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(NAME_HOSPITAL)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'NAME_HOSPITAL') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN NAME_HOSPITAL IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(NAME_HOSPITAL, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(NAME_HOSPITAL))
>
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'NAME_HOSPITAL') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
ERROR_CNT
END
END
/*WHERE UPPER(HEA_TYPE) IN ('CASHLESS')*/
WHERE FILE_ID =20322 |
4urbn8vmkdjjv | begin USP_GETFIELDDATA(P_NODE_ID=>:P_NODE_ID, P_PROC_ID=>:P_PROC_ID, P_CASENUM=>:P_CASENUM, P_FIELD_NAME=>:P_FIELD_NAME, P_FIELD_VALUE=>:P_FIELD_VALUE, P_ERROR_NO=>:P_ERROR_NO); end; |
4y9wj8szmh8qu | SELECT MU.USER_ID FROM MAS_USERS MU WHERE UPPER(MU.EMPLOYEE_ID) = UPPER(:B1 ) |
5388cg7sz4710 | SELECT attribute_id, attribute_value FROM swpro.user_values WHERE node_id = :1 AND user_id = :2 AND attribute_id >= :3 AND attribute_id <= :4 AND user_type = :5 ORDER BY attribute_id |
57vsj609s2ka0 | begin USP_VALIDATION_HEA_CLAIM_POL(p_file_id=>:p_file_id, P_Cursor=>:P_Cursor, P_Error_No=>:P_Error_No); end; |
5vw6s1gtrfzcx | SELECT 0 FROM DUAL |
5x6tzhw3bsgs7 |
SELECT MI.INTIMATION_DT, MI.INTIMATION_TIME, TO_CHAR(MI.RECV_DATE_BY_IL, 'DD-MON-YYYY') RECV_DATE_BY_IL, MI.RECV_TIME_BY_IL, UDF_LOOKUPMASTER(MI.PRODUCT_ID) PRODUCT_NAME, MI.POLICY_NO, MI.COVER_NOTE_NO, TO_CHAR(MI.POLICY_START_DT, 'DD-MON-YYYY'), TO_CHAR(MI.POLICY_END_DT, 'DD-MON-YYYY'), MI.INSURED_NAME, MI.INSURED_TEL1, MI.INSURED_ADD1, MI.INSURED_TEL2, MI.INSURED_ADD2, MI.INSURED_MOBILE, MI.INSURED_ADD3, MI.INSURED_EMAIL, MI.INSURED_LANDMARK, MI.INSURED_CONT_PER, UDF_LOOK
UPMASTER(MI.INSURED_STATE) INSURED_STATE, UDF_LOOKUPMASTER(MI.INSURED_CITY) INSURED_CITY, MI.INSURED_PIN, MI.VEHICLE_MAKE, MI.VEHICLE_REG_NO, MI.VEHICLE_MFG_YEAR, MI.VEHICLE_MODEL, MI.VEHICLE_ENGINE_NO, MI.VEHICLE_CHASSIS_NO, MOT_INT_LOSSES.MOT_INT_LOSS_DT, MOT_INT_LOSSES.MOT_INT_LOSS_TIME, MOT_INT_LOSSES.ADDRESS1 || '-' || MOT_INT_LOSSES.ADDRESS2 || '-' || MOT_INT_LOSSES.ADDRESS3 ADDRESS1, MOT_INT_LOSSES.LANDMARK, MOT_INT_LOSSES.ADDRESS2, UDF_LOOKUPMASTER(MOT_INT_LOSSES.STATE) STA
TE, MOT_INT_LOSSES.ADDRESS3, UDF_LOOKUPMASTER(MOT_INT_LOSSES.CITY) CITY, MOT_INT_LOSSES.PINCODE LOSSES_PINCODE, MOT_INT_LOSSES.DESCRIPTION, MOT_INT_LOSSES.DAMAGE_DETAILS, MOT_INT_LOSSES.VEHICLE_STATE, MOT_INT_LOSSES.DRIVER_NAME, MOT_INT_LOSSES.DRIVER_SEX, MOT_INT_LOSSES.DRIVER_AGE, MOT_INT_LOSSES.DRIVER_RELATION, MOT_INT_LOSSES.DRIVER_EXPERIENCE, MOT_INT_LOSSES.DRIVER_OCCUPATION, MOT_INT_LOSSES.DRIVER_REMARK, MOT_INT_LOSSES.REPORTERS_NAME, MOT_INT_LOSSES.REPORTERS_TEL1, MOT_INT_L
OSSES.REPORTERS_RELATION, MOT_INT_LOSSES.REPORTERS_TEL2, MOT_INT_LOSSES.REPORTERS_ADD, MOT_INT_LOSSES.REPORTERS_MOBILE, UDF_LOOKUPMASTER(MOT_INT_LOSSES.REPORTERS_STATE) REPORTERS_STATE, UDF_LOOKUPMASTER(MOT_INT_LOSSES.REPORTERS_CITY) REPORTERS_CITY, MOT_INT_LOSSES.FIR_REPORTED, MOT_INT_LOSSES.FIR_POLICE_STN, MOT_INT_LOSSES.FIR_LOCATION, MOT_INT_LOSSES.FIR_DATE, MOT_INT_LOSSES.FIR_NO, MOT_INT_LOSSES.FIR_REMARK, MOT_INT_TPS.NO_PER_INJURED, MOT_INT_TPS.TP_REMARKS, MOT_INT_TPS.TP_PROP_
TYPE, MOT_INT_TPS.TP_PROP_NAME, MOT_INT_TPS.TP_EST_COST, DECODE(MI.INTIMATION_NOL, 'TP', 'TP-' || DECODE(MOT_INT_TPS.TP_NOL, 1, 'Death', 2, 'Injury', 3, 'TPPD'), MI.INTIMATION_NOL) INTIMATION_NOL, MOT_INT_TPS.DATE_LOSS, MOT_INT_TPS.LOSS_LOCATION, UDF_LOOKUPMASTER(MOT_INT_TPS.TP_STATE) TP_STATE, MOT_INT_TPS.COURT_CASE_NO, MOT_INT_TPS.COURT_NAME, MOT_INT_TPS.COURT_LOCATION, UDF_LOOKUPMASTER(MOT_INT_TPS.COURT_STATE) COURT_STATE, MOT_INT_TPS.NEXT_HEARING_DATE, MOT_INT_TPS.PETITI
ONER_NAME, MOT_INT_TPS.VEH_NO, MI.REMARKS_GARAGES, MI.VEHICLE_REPORTED, MOT_INT_THEFTS.VEH_LOCKED, MOT_INT_THEFTS.INT_KEYSWITH, MOT_INT_THEFTS.PERSON_NAME, MOT_INT_THEFTS.ADDRESS1 THEFT_ADDRESS1, MOT_INT_THEFTS.ADDRESS2 THEFT_ADDRESS2, MOT_INT_THEFTS.ADDRESS3 THEFT_ADDRESS3, MOT_INT_THEFTS.LANDMARK THEFT_LANDMARK, UDF_LOOKUPMASTER(MOT_INT_THEFTS.STATE) THEFT_STATE, UDF_LOOKUPMASTER(MOT_INT_THEFTS.CITY) THEFT_CITY, MOT_INT_THEFTS.PINCODE, MOT_INT_THEFTS.TEL1, MOT_INT_THEFTS.TEL2,
MOT_INT_THEFTS.MOBILE, MOT_INT_THEFTS.EMAIL, MP.CLAIM_REF_NO, MP.CLAIM_NO, MP.CLAIM_STATUS, MI.SYSTEM_VALIDATION_STATUS SYSTEM_STATUS, MI.STATUS_REASON STATUS_REASON, MOT_INT_LOSSES.REPORTERS_PINCODE, MI.CALL_RATING, MI.SUB_PRODUCT_ID || '-' || UDF_LOOKUPMASTER(MI.SUB_PRODUCT_ID) SUB_PROD_NAME, MI.PRIMARY_VERTICAL_ID || '-' || UDF_LOOKUPMASTER(MI.PRIMARY_VERTICAL_ID) PRIMARY_VERTICAL_NAME, MI.PRIMARY_SUB_VERTICAL_ID || '-' || UDF_LOOKUPMASTER(MI.PRIMARY_SUB_VERTICAL_ID) PRIMARY_SUB_VE
RTICAL_NAME, MI.SEC_VERTICAL_ID || '-' || UDF_LOOKUPMASTER(MI.SEC_VERTICAL_ID) SEC_VERTICAL_NAME, MI.SEC_SUB_VERTICAL_ID || '-' || UDF_LOOKUPMASTER(MI.SEC_SUB_VERTICAL_ID) SEC_SUB_VERTICAL_NAME, UDF_AGENT_NAME(MI.AGENT_ID), MI.IL_BRANCH || '-' || UDF_MAS_BRANCHES(MI.IL_BRANCH) IL_BRANCH_NAME, MI.PRODUCT_ID, MP.SYSTEM_ASSIGN_CSM, MI.GRG_DIVERSION GARAGEDIVERSION, UDF_USER_EMP_ID_TO_USER_NAME(MI.EMP_ID) EMP_ID, UDF_EMPIDTODESIGNATION(MI.EMP_ID) EMP_ROLE, MI.CUST_CATEGORY CUST_CATEGORY FR
OM MOT_INTIMATIONS MI, MOT_CLAIM_POLICIES MP, MOT_INT_POLICIES, MOT_INT_LOSSES, MOT_INT_TPS, MOT_INT_GARAGES, MOT_INT_THEFTS WHERE MI.INTIMATION_ID = MP.INTIMATION_ID AND MI.INTIMATION_ID = MOT_INT_POLICIES.INTIMATION_ID AND MI.INTIMATION_ID = MOT_INT_LOSSES.INTIMATION_ID AND MI.INTIMATION_ID = MOT_INT_TPS.INTIMATION_ID(+) AND MI.INTIMATION_ID = MOT_INT_GARAGES.INTIMATION_ID(+) AND MI.INTIMATION_ID = MOT_INT_THEFTS.INTIMATION_ID(+) AND MI.ACTIVE_FLAG = 'Y' AND MI.POLICY_ID = :B1
|
5yzduvvj53vf1 |
SELECT COUNT(NODE_ID) FROM (SELECT A.*, CSI.CASEDESC, ROWNUM RNUM FROM (SELECT OM.NODE_ID, OM.PROC_ID, OM.CASE_NAME CASENUM, OM.STEP_NAME STEPNAME, TAT_FLAG, CUST_CATEGORY, POLICY_ID, CLAIM_REF_NO, POLICY_NO, REQUEST_NAME, REQUEST_TYPE, INTIMATION_NOL, HUB_CODE, REQ_SUB_TYPE_DESC, req_sub_type , reqid, phy_chq_stat, Pay_Id FROM SWPRO.DUMMY_CHK_LEVEL OM, VW_REQUESTS TC WHERE OM.NODE_ID = TC.NODE_ID AND OM.PROC_ID = TC.PROC_ID AND OM.NODE_ID + OM.PROC_ID = TC.NODE_ID + TC.PROC_ID AND OM.CASE_
REF_NO = TC.CLAIM_REF_NO AND OM.NODE_ID=1 AND OM.PROC_ID in (6, 12) AND (1=1) AND TC.INTIMATION_NOL || TC.SUB_PRODUCT_ID IN (SELECT A.X || B.Y
FROM (SELECT T.LOOKUP_CODE "X"
FROM LOMB_MOTOR.MAS_LOOKUPS T,
LOMB_MOTOR.MAS_USER_MAPPING M
WHERE T.LOOKUP_ID = M.PARAM_VALUE
AND M.USER_ID = 503564
AND M.PARAM_I
D = 'P002') A,
(SELECT M.PARAM_VALUE "Y"
FROM LOMB_MOTOR.MAS_USER_MAPPING M
WHERE M.USER_ID = 503564
AND M.PARAM_ID = 'P004') B) AND ((REQUEST_TYPE IN (9, 10)) OR
(REQUEST_TYPE IN
( SELECT TO_NUMBER(T.LOOKUP_CODE)
FROM MAS_USER_MAPPING TT, MAS_LOOKUPS T
WHERE TT.PARAM_ID = 'P012
'
AND TT.PARAM_VALUE > 0
AND TT.PARAM_VALUE = T.LOOKUP_ID
AND DECODE(TT.PARAM_ID, 'P012', 1, 0) = 1
AND TT.USER_ID = 503564 ))) AND DECODE(OM.STEP_NAME, 'REQCPU', 1, 0)=1 ) A, lomb_motor.Z_CASESTATUSINFO CSI WHERE A.NODE_ID=CSI.NODE_ID (+) AND A.PROC_ID=CSI.PROC_ID(+) AND A.CLAIM_REF_NO=CSI.CASEDESC(+) AND A.STEPNAME=CSI.STEPNAME(+) AND DECODE(CSI.CASEDESC, NULL, 1, 0)=1 ) B
|
6587xws41fsvx |
SELECT B.NODE_ID, B.PROC_ID, B.CASENUM, B.STEPNAME, B.TAT_FLAG, B.CUST_CATEGORY, POLICY_ID "Policy Id", CLAIM_REF_NO "Claim Ref No", POLICY_NO "Policy No", REQUEST_NAME "Request", REQUEST_TYPE "Request Type", INTIMATION_NOL "Intimation Nol", hub_code "Hub Code", REQ_SUB_TYPE_DESC "Request Sub Type", req_sub_type "Req Sub type id" , reqid "RequestID", phy_chq_stat "Physical Cheque Received", pay_id "PayId" FROM (SELECT A.*, CSI.CASEDESC, ROWNUM RNUM FROM (SELECT OM.NODE_ID, OM.PROC_ID, OM
.CASE_NAME CASENUM, OM.STEP_NAME STEPNAME, TAT_FLAG, CUST_CATEGORY, POLICY_ID, CLAIM_REF_NO, POLICY_NO, REQUEST_NAME, REQUEST_TYPE, INTIMATION_NOL, HUB_CODE, REQ_SUB_TYPE_DESC, req_sub_type , reqid, phy_chq_stat, Pay_Id FROM SWPRO.DUMMY_CHK_LEVEL OM, VW_REQUESTS TC WHERE OM.NODE_ID = TC.NODE_ID AND OM.PROC_ID = TC.PROC_ID AND OM.NODE_ID + OM.PROC_ID = TC.NODE_ID + TC.PROC_ID AND OM.CASE_REF_NO = TC.CLAIM_REF_NO AND OM.NODE_ID=1 AND OM.PROC_ID in (6, 12) AND (1=1) AND TC.INTIMATION_NOL || TC.
SUB_PRODUCT_ID IN (SELECT A.X || B.Y
FROM (SELECT T.LOOKUP_CODE "X"
FROM LOMB_MOTOR.MAS_LOOKUPS T,
LOMB_MOTOR.MAS_USER_MAPPING M
WHERE T.LOOKUP_ID = M.PARAM_VALUE
AND M.USER_ID = 503564
AND M.PARAM_ID = 'P002') A,
(SELECT M.PARAM_VALUE "Y"
F
ROM LOMB_MOTOR.MAS_USER_MAPPING M
WHERE M.USER_ID = 503564
AND M.PARAM_ID = 'P004') B) AND ((REQUEST_TYPE IN (9, 10)) OR
(REQUEST_TYPE IN
( SELECT TO_NUMBER(T.LOOKUP_CODE)
FROM MAS_USER_MAPPING TT, MAS_LOOKUPS T
WHERE TT.PARAM_ID = 'P012'
AND TT.PARAM_VALUE > 0
AND TT.PARAM_VALUE = T.LOOKUP_ID
AND DECODE(TT.PARAM_ID, 'P012', 1, 0) = 1
AND TT.USER_ID = 503564 ))) AND DECODE(OM.STEP_NAME, 'REQCPU', 1, 0)=1 ) A, lomb_motor.Z_CASESTATUSINFO CSI WHERE A.NODE_ID=CSI.NODE_ID (+) AND A.PROC_ID=CSI.PROC_ID(+) AND A.CLAIM_REF_NO=CSI.CASEDESC(+) AND A.STEPNAME=CSI.STEPNAME(+) AND DECODE(CSI.CASEDESC, NULL, 1, 0)=1 AND ROWNUM<=20) B WHERE RNUM>=1
|
6c6adtrytqu2q |
SELECT COUNT(NODE_ID) FROM (SELECT A.*, CSI.CASEDESC, ROWNUM RNUM FROM (SELECT OM.NODE_ID, OM.PROC_ID, OM.CASE_NAME CASENUM, OM.STEP_NAME STEPNAME, TAT_FLAG, CUST_CATEGORY, POLICY_ID, CLAIM_REF_NO, POLICY_NO, REQUEST_NAME, REQUEST_TYPE, INTIMATION_NOL, HUB_CODE, REQ_SUB_TYPE_DESC, req_sub_type , reqid, phy_chq_stat, Pay_Id FROM SWPRO.DUMMY_CHK_LEVEL OM, VW_REQUESTS TC WHERE OM.NODE_ID = TC.NODE_ID AND OM.PROC_ID = TC.PROC_ID AND OM.NODE_ID + OM.PROC_ID = TC.NODE_ID + TC.PROC_ID AND OM.CASE_
REF_NO = TC.CLAIM_REF_NO AND OM.NODE_ID=1 AND OM.PROC_ID in (6, 12) AND (1=1) AND TC.INTIMATION_NOL || TC.SUB_PRODUCT_ID IN (SELECT A.X || B.Y
FROM (SELECT T.LOOKUP_CODE "X"
FROM LOMB_MOTOR.MAS_LOOKUPS T,
LOMB_MOTOR.MAS_USER_MAPPING M
WHERE T.LOOKUP_ID = M.PARAM_VALUE
AND M.USER_ID = 504108
AND M.PARAM_I
D = 'P002') A,
(SELECT M.PARAM_VALUE "Y"
FROM LOMB_MOTOR.MAS_USER_MAPPING M
WHERE M.USER_ID = 504108
AND M.PARAM_ID = 'P004') B) AND ((REQUEST_TYPE IN (9, 10)) OR
(REQUEST_TYPE IN
( SELECT TO_NUMBER(T.LOOKUP_CODE)
FROM MAS_USER_MAPPING TT, MAS_LOOKUPS T
WHERE TT.PARAM_ID = 'P012
'
AND TT.PARAM_VALUE > 0
AND TT.PARAM_VALUE = T.LOOKUP_ID
AND DECODE(TT.PARAM_ID, 'P012', 1, 0) = 1
AND TT.USER_ID = 504108 ))) AND DECODE(OM.STEP_NAME, 'REQCPU', 1, 0)=1 ) A, lomb_motor.Z_CASESTATUSINFO CSI WHERE A.NODE_ID=CSI.NODE_ID (+) AND A.PROC_ID=CSI.PROC_ID(+) AND A.CLAIM_REF_NO=CSI.CASEDESC(+) AND A.STEPNAME=CSI.STEPNAME(+) AND DECODE(CSI.CASEDESC, NULL, 1, 0)=1 ) B
|
6dwt2c9ycycay |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN COINSURER_NAME6 IS NOT NULL THEN
CASE WHEN CO_INSURANCE_PERC6 IS NULL THEN
ERROR_DESC ||'-CO_INSURANCE_PERC6 is null when (coinsurer_name6 is not null)'
WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC6, '^[[:digit:]]+$') THEN
ERROR_DESC ||'-CO_INSURANCE_PERC6 not valid number'
W
HEN CO_INSURANCE_PERC6 > 100 THEN
ERROR_DESC ||'-CO_INSURANCE_PERC6 cannot Exceed 100'
WHEN LENGTH(TRIM(CO_INSURANCE_PERC6)) >
(SELECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CO_INSURANCE_PERC6') THEN
ERRO
R_DESC ||'-CO_INSURANCE_PERC6 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN CO_INSURANCE_PERC6 IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC6, '^[[:digit:]]+$') THEN
ERROR_DESC ||'-CO_INSURANCE_PERC6 not valid number'
WHEN CO_INSURANCE_PERC6 > 100 THEN
ERROR_DESC ||'-CO_INSURANCE_PERC6 cannot Exceed 100'
WHEN LENGTH(TRIM(CO_INSURANCE_PERC6)) >
(SELECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN
_NAME = 'CO_INSURANCE_PERC6') THEN
ERROR_DESC ||'-CO_INSURANCE_PERC6 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN COINSURER_NAME6 I
S NOT NULL THEN
CASE WHEN CO_INSURANCE_PERC6 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC6, '^[[:digit:]]+$') THEN
ERROR_CNT + 1
WHEN CO_INSURANCE_PERC6 > 100 THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(CO_INSURANCE_PERC6)) >
(SE
LECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CO_INSURANCE_PERC6') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN CO_INSURANCE_PERC6 IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC6, '^[[:digit:]]+$') THEN
ERROR_CNT + 1
WHEN CO_INSURANCE_PERC6 > 100 THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(CO_INSURANCE_PERC6)) >
(SELECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CO_INSURANCE_PERC6') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
ERROR_CNT
END
END
WHERE FILE_ID =20321
|
6fr28dx52y3k2 |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN UPPER(PAYMENT_MODE) IN ('DD') THEN
CASE WHEN PAYABLE_LOCATION IS NULL THEN
ERROR_DESC ||'-PAYABLE_LOCATION is null when payment_mode is (dd)'
WHEN NOT REGEXP_LIKE(TRIM(PAYABLE_LOCATION), '^[/, .''&"[:alpha:][:cntrl:][:space:]]+$') THEN
ERROR_DESC ||'-PAYABLE_LOCATION not alphabetic'
WHEN LENGTH(TRIM(PAYABLE_LOCATION)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'PAYABLE_LOCATION') THEN
ERROR_DESC ||'-PAYABLE_LOCATION data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN PAYABLE_LOCATION IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(TRIM(PAYABLE_LOCATION), '^[/, .''&"[:alpha:][:cntrl:][:space:]]+$') THEN
ERROR_DESC ||'-PAYABLE_LOCATION not alphabetic'
WHEN LENGTH(TRIM(PAYABLE_LOCATION)) >
(SELECT DAT
A_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'PAYABLE_LOCATION') THEN
ERROR_DESC ||'-PAYABLE_LOCATION data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN UPPER(PAYMENT_MODE) IN ('DD') THEN
CASE WHEN PAYABLE_LOCATION IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(TRIM(PAYABLE_LOCATION), '^[/, .''&"[:alpha:][:cntrl:][:space:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TR
IM(PAYABLE_LOCATION)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'PAYABLE_LOCATION') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE
WHEN PAYABLE_LOCATION IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(TRIM(PAYABLE_LOCATION), '^[/, .''&"[:alpha:][:cntrl:][:space:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(PAYABLE_LOCATION)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CL
AIM_POLICIES' AND COLUMN_NAME = 'PAYABLE_LOCATION') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
ERROR_CNT
END
END
/*WHERE UPPER(PAYMENT_MODE) IN ('DD')*/
WHERE FILE_ID =20323
|
6vtrk1j3cz3a2 |
SELECT B.NODE_ID, B.PROC_ID, B.CASENUM, B.STEPNAME, B.TAT_FLAG, B.CUST_CATEGORY, POLICY_ID "Policy Id", CLAIM_REF_NO "Claim Ref No", POLICY_NO "Policy No", REQUEST_NAME "Request", REQUEST_TYPE "Request Type", INTIMATION_NOL "Intimation Nol", hub_code "Hub Code", REQ_SUB_TYPE_DESC "Request Sub Type", req_sub_type "Req Sub type id" , reqid "RequestID", phy_chq_stat "Physical Cheque Received", pay_id "PayId" FROM (SELECT A.*, CSI.CASEDESC, ROWNUM RNUM FROM (SELECT OM.NODE_ID, OM.PROC_ID, OM
.CASE_NAME CASENUM, OM.STEP_NAME STEPNAME, TAT_FLAG, CUST_CATEGORY, POLICY_ID, CLAIM_REF_NO, POLICY_NO, REQUEST_NAME, REQUEST_TYPE, INTIMATION_NOL, HUB_CODE, REQ_SUB_TYPE_DESC, req_sub_type , reqid, phy_chq_stat, Pay_Id FROM SWPRO.DUMMY_CHK_LEVEL OM, VW_REQUESTS TC WHERE OM.NODE_ID = TC.NODE_ID AND OM.PROC_ID = TC.PROC_ID AND OM.NODE_ID + OM.PROC_ID = TC.NODE_ID + TC.PROC_ID AND OM.CASE_REF_NO = TC.CLAIM_REF_NO AND OM.NODE_ID=1 AND OM.PROC_ID in (6, 12) AND (1=1) AND TC.INTIMATION_NOL || TC.
SUB_PRODUCT_ID IN (SELECT A.X || B.Y
FROM (SELECT T.LOOKUP_CODE "X"
FROM LOMB_MOTOR.MAS_LOOKUPS T,
LOMB_MOTOR.MAS_USER_MAPPING M
WHERE T.LOOKUP_ID = M.PARAM_VALUE
AND M.USER_ID = 501294
AND M.PARAM_ID = 'P002') A,
(SELECT M.PARAM_VALUE "Y"
F
ROM LOMB_MOTOR.MAS_USER_MAPPING M
WHERE M.USER_ID = 501294
AND M.PARAM_ID = 'P004') B) AND ((REQUEST_TYPE IN (9, 10)) OR
(REQUEST_TYPE IN
( SELECT TO_NUMBER(T.LOOKUP_CODE)
FROM MAS_USER_MAPPING TT, MAS_LOOKUPS T
WHERE TT.PARAM_ID = 'P012'
AND TT.PARAM_VALUE > 0
AND TT.PARAM_VALUE = T.LOOKUP_ID
AND DECODE(TT.PARAM_ID, 'P012', 1, 0) = 1
AND TT.USER_ID = 501294 ))) AND DECODE(OM.STEP_NAME, 'REQCPU', 1, 0)=1 ) A, lomb_motor.Z_CASESTATUSINFO CSI WHERE A.NODE_ID=CSI.NODE_ID (+) AND A.PROC_ID=CSI.PROC_ID(+) AND A.CLAIM_REF_NO=CSI.CASEDESC(+) AND A.STEPNAME=CSI.STEPNAME(+) AND DECODE(CSI.CASEDESC, NULL, 1, 0)=1 AND ROWNUM<=20) B WHERE RNUM>=1
|
73vwpw9xyh20z |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN UPPER(PAYMENT_TO) IN ('INSURED') THEN
CASE WHEN PAYEE_NAME IS NULL THEN
CASE WHEN PAYMENT_TO = '1' THEN
ERROR_DESC ||'-PAYEE_NAME is null'
ELSE
ERROR_DESC ||'-PAYEE_NAME is null when payment_to is (insured)'
END
WHEN NOT REGEXP_LIKE(PAYEE_NAME, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-PAYEE_NAME not proper'
WHEN LENGTH(TRIM(PAYEE_NAME)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'PAYEE_NAME
') THEN
ERROR_DESC ||'-PAYEE_NAME data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN PAYEE_NAME IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(PAYEE_NAME, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-PAYEE
_NAME not proper'
WHEN LENGTH(TRIM(PAYEE_NAME)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'PAYEE_NAME') THEN
ERROR_DESC ||'-PAYEE_NAME data length exceede
d'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN UPPER(PAYMENT_TO) IN ('INSURED') THEN
CASE WHEN PAYEE_NAME IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(PAYEE_NAME, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(PAYEE_NAME)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'PAYEE_NAME') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN PAYEE_NAME IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(PAYEE_NAME, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(PAYEE_NAME)) >
(SELECT
DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'PAYEE_NAME') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
ERROR_CNT
END
END
/*WHERE UPPER(PAYMENT_TO) IN ('INSURED')*/
WHERE FILE_ID =20323 |
77upt6a4fdy6u |
SELECT DISTINCT Y.ROLE_RIGHTS_DESC, Y.ROLE_RIGHTS_URL, Y.ROLE_RIGHTS_RPTID, Y.ROLE_RIGHTS_ID FROM MOT_UG_ROLES X, MAS_ROLE_RIGHTS Y WHERE X.UTM_USERID = UDF_MAS_USERS_EMP_USER_ID(UPPER(:B2 )) AND X.UTM_TAB_ID = Y.ROLE_RIGHTS_ID AND X.UTM_VIEW = 1 AND Y.ROLE_RIGHTS_TYPE = :B1 ORDER BY Y.ROLE_RIGHTS_URL
|
79zdcdrn2qz2n |
SELECT B.NODE_ID, B.PROC_ID, B.CASENUM, B.STEPNAME, B.TAT_FLAG, B.CUST_CATEGORY, POLICY_ID "Policy Id", CLAIM_REF_NO "Claim Ref No", POLICY_NO "Policy No", REQUEST_NAME "Request", REQUEST_TYPE "Request Type", INTIMATION_NOL "Intimation Nol", hub_code "Hub Code", REQ_SUB_TYPE_DESC "Request Sub Type", req_sub_type "Req Sub type id" , reqid "RequestID", phy_chq_stat "Physical Cheque Received", pay_id "PayId" FROM (SELECT A.*, CSI.CASEDESC, ROWNUM RNUM FROM (SELECT OM.NODE_ID, OM.PROC_ID, OM
.CASE_NAME CASENUM, OM.STEP_NAME STEPNAME, TAT_FLAG, CUST_CATEGORY, POLICY_ID, CLAIM_REF_NO, POLICY_NO, REQUEST_NAME, REQUEST_TYPE, INTIMATION_NOL, HUB_CODE, REQ_SUB_TYPE_DESC, req_sub_type , reqid, phy_chq_stat, Pay_Id FROM SWPRO.DUMMY_CHK_LEVEL OM, VW_REQUESTS TC WHERE OM.NODE_ID = TC.NODE_ID AND OM.PROC_ID = TC.PROC_ID AND OM.NODE_ID + OM.PROC_ID = TC.NODE_ID + TC.PROC_ID AND OM.CASE_REF_NO = TC.CLAIM_REF_NO AND OM.NODE_ID=1 AND OM.PROC_ID in (6, 12) AND (1=1) AND TC.INTIMATION_NOL || TC.
SUB_PRODUCT_ID IN (SELECT A.X || B.Y
FROM (SELECT T.LOOKUP_CODE "X"
FROM LOMB_MOTOR.MAS_LOOKUPS T,
LOMB_MOTOR.MAS_USER_MAPPING M
WHERE T.LOOKUP_ID = M.PARAM_VALUE
AND M.USER_ID = 502750
AND M.PARAM_ID = 'P002') A,
(SELECT M.PARAM_VALUE "Y"
F
ROM LOMB_MOTOR.MAS_USER_MAPPING M
WHERE M.USER_ID = 502750
AND M.PARAM_ID = 'P004') B) AND ((REQUEST_TYPE IN (9, 10)) OR
(REQUEST_TYPE IN
( SELECT TO_NUMBER(T.LOOKUP_CODE)
FROM MAS_USER_MAPPING TT, MAS_LOOKUPS T
WHERE TT.PARAM_ID = 'P012'
AND TT.PARAM_VALUE > 0
AND TT.PARAM_VALUE = T.LOOKUP_ID
AND DECODE(TT.PARAM_ID, 'P012', 1, 0) = 1
AND TT.USER_ID = 502750 ))) AND DECODE(OM.STEP_NAME, 'REQCPU', 1, 0)=1 ) A, lomb_motor.Z_CASESTATUSINFO CSI WHERE A.NODE_ID=CSI.NODE_ID (+) AND A.PROC_ID=CSI.PROC_ID(+) AND A.CLAIM_REF_NO=CSI.CASEDESC(+) AND A.STEPNAME=CSI.STEPNAME(+) AND DECODE(CSI.CASEDESC, NULL, 1, 0)=1 AND ROWNUM<=20) B WHERE RNUM>=1
|
7t1q1u7g738tu |
SELECT MI.INTIMATION_DT, MI.INTIMATION_TIME, TO_CHAR(MI.RECV_DATE_BY_IL, 'DD-MON-YYYY') RECV_DATE_BY_IL, MI.RECV_TIME_BY_IL, UDF_LOOKUPMASTER(MI.PRODUCT_ID) PRODUCT_NAME, NVL(MP.POLICY_NO, MI.POLICY_NO) POLICY_NO, MI.COVER_NOTE_NO, TO_CHAR(NVL(MP.POLICY_START_DT, MI.POLICY_START_DT), 'DD-MON-YYYY'), TO_CHAR(NVL(MP.POLICY_END_DT, MI.POLICY_END_DT), 'DD-MON-YYYY'), NVL(MP.INSURED_NAME, MI.INSURED_NAME) INSURED_NAME, NVL(MP.INS_CONT1, MI.INSURED_TEL1) INSURED_TEL1, NVL(MP.INS_ADD
1, MI.INSURED_ADD1) INSURED_ADD1, NVL(MP.INS_CONT2, MI.INSURED_TEL2) INSURED_TEL2, NVL(MP.INS_ADD2, MI.INSURED_ADD2) INSURED_ADD2, NVL(MP.INS_MOBILE, MI.INSURED_MOBILE) INSURED_MOBILE, NVL(MP.INS_ADD3, MI.INSURED_ADD3) INSURED_ADD3, NVL(MP.INS_EMAIL, MI.INSURED_EMAIL) INSURED_EMAIL, NVL(MP.INS_LANDMARK, MI.INSURED_LANDMARK) INSURED_LANDMARK, NVL(MP.INS_CONT_PER, MI.INSURED_CONT_PER) INSURED_CONT_PER, UDF_LOOKUPMASTER(NVL(MP.INS_STATE, MI.INSURED_STATE)) INSURED_STATE, UDF_LOOKU
PMASTER(NVL(MP.INS_CITY, MI.INSURED_CITY)) INSURED_CITY, NVL(MP.INS_PIN, MI.INSURED_PIN) INSURED_PIN, NVL(MP.VEH_MAKE, MI.VEHICLE_MAKE) VEHICLE_MAKE, NVL(MP.VEH_REG_NO, MI.VEHICLE_REG_NO) VEHICLE_REG_NO, NVL(MP.VEH_MFG_YEAR, MI.VEHICLE_MFG_YEAR) VEHICLE_MFG_YEAR, NVL(MP.VEH_MODEL, MI.VEHICLE_MODEL) VEHICLE_MODEL, NVL(MP.VEH_ENGINE_NO, MI.VEHICLE_ENGINE_NO) VEHICLE_ENGINE_NO, NVL(MP.VEH_CHASSIS_NO, MI.VEHICLE_CHASSIS_NO) VEHICLE_CHASSIS_NO, MOT_INT_LOSSES.MOT_INT_LOSS_DT, MOT_INT
_LOSSES.MOT_INT_LOSS_TIME, MOT_INT_LOSSES.ADDRESS1 || '-' || MOT_INT_LOSSES.ADDRESS2 || '-' || MOT_INT_LOSSES.ADDRESS3 ADDRESS1, MOT_INT_LOSSES.LANDMARK, MOT_INT_LOSSES.ADDRESS2, UDF_LOOKUPMASTER(MOT_INT_LOSSES.STATE) STATE, MOT_INT_LOSSES.ADDRESS3, UDF_LOOKUPMASTER(MOT_INT_LOSSES.CITY) CITY, MOT_INT_LOSSES.PINCODE LOSSES_PINCODE, MOT_INT_LOSSES.DESCRIPTION, MOT_INT_LOSSES.DAMAGE_DETAILS, MOT_INT_LOSSES.VEHICLE_STATE, MOT_INT_LOSSES.DRIVER_NAME, MOT_INT_LOSSES.DRIVER_SEX, MOT_INT_LO
SSES.DRIVER_AGE, MOT_INT_LOSSES.DRIVER_RELATION, MOT_INT_LOSSES.DRIVER_EXPERIENCE, MOT_INT_LOSSES.DRIVER_OCCUPATION, MOT_INT_LOSSES.DRIVER_REMARK, MOT_INT_LOSSES.REPORTERS_NAME, MOT_INT_LOSSES.REPORTERS_TEL1, MOT_INT_LOSSES.REPORTERS_RELATION, MOT_INT_LOSSES.REPORTERS_TEL2, MOT_INT_LOSSES.REPORTERS_ADD, MOT_INT_LOSSES.REPORTERS_MOBILE, UDF_LOOKUPMASTER(MOT_INT_LOSSES.REPORTERS_STATE) REPORTERS_STATE, UDF_LOOKUPMASTER(MOT_INT_LOSSES.REPORTERS_CITY) REPORTERS_CITY, MOT_INT_LOSSES.FIR_
REPORTED, MOT_INT_LOSSES.FIR_POLICE_STN, MOT_INT_LOSSES.FIR_LOCATION, MOT_INT_LOSSES.FIR_DATE, MOT_INT_LOSSES.FIR_NO, MOT_INT_LOSSES.FIR_REMARK, MOT_INT_TPS.NO_PER_INJURED, MOT_INT_TPS.TP_REMARKS, MOT_INT_TPS.TP_PROP_TYPE, MOT_INT_TPS.TP_PROP_NAME, MOT_INT_TPS.TP_EST_COST, DECODE(MI.INTIMATION_NOL, 'TP', 'TP-' || DECODE(MOT_INT_TPS.TP_NOL, 1, 'Death', 2, 'Injury', 3, 'TPPD'), MI.INTIMATION_NOL) INTIMATION_NOL, MOT_INT_TPS.DATE_LOSS, MOT_INT_TPS.LOSS_LOCATION, UDF_LOOKUPMAS
TER(MOT_INT_TPS.TP_STATE) TP_STATE, MOT_INT_TPS.COURT_CASE_NO, MOT_INT_TPS.COURT_NAME, MOT_INT_TPS.COURT_LOCATION, UDF_LOOKUPMASTER(MOT_INT_TPS.COURT_STATE) COURT_STATE, MOT_INT_TPS.NEXT_HEARING_DATE, MOT_INT_TPS.PETITIONER_NAME, MOT_INT_TPS.VEH_NO, MI.REMARKS_GARAGES, MI.VEHICLE_REPORTED, MOT_INT_THEFTS.VEH_LOCKED, MOT_INT_THEFTS.INT_KEYSWITH, MOT_INT_THEFTS.PERSON_NAME, MOT_INT_THEFTS.ADDRESS1 THEFT_ADDRESS1, MOT_INT_THEFTS.ADDRESS2 THEFT_ADDRESS2, MOT_INT_THEFTS.ADDRESS3 THEFT_
ADDRESS3, MOT_INT_THEFTS.LANDMARK THEFT_LANDMARK, UDF_LOOKUPMASTER(MOT_INT_THEFTS.STATE) THEFT_STATE, UDF_LOOKUPMASTER(MOT_INT_THEFTS.CITY) THEFT_CITY, MOT_INT_THEFTS.PINCODE, MOT_INT_THEFTS.TEL1, MOT_INT_THEFTS.TEL2, MOT_INT_THEFTS.MOBILE, MOT_INT_THEFTS.EMAIL, MP.CLAIM_REF_NO, MP.CLAIM_NO, MP.CLAIM_STATUS, MP.SYSTEM_VALIDATION_STATUS SYSTEM_STATUS, MP.STATUS_REASON STATUS_REASON, MOT_INT_LOSSES.REPORTERS_PINCODE, MI.CALL_RATING, NVL(MP.SUB_PRODUCT_ID, MI.SUB_PRODUCT_ID) || '-'
|| UDF_LOOKUPMASTER(NVL(MP.SUB_PRODUCT_ID, MI.SUB_PRODUCT_ID)) SUB_PROD_NAME, NVL(MP.PRIMARY_VERTICAL_ID, MI.PRIMARY_VERTICAL_ID) || '-' || UDF_LOOKUPMASTER(NVL(MP.PRIMARY_VERTICAL_ID, MI.PRIMARY_VERTICAL_ID)) PRIMARY_VERTICAL_NAME, NVL(MP.PRIMARY_SUB_VERTICAL_ID, MI.PRIMARY_SUB_VERTICAL_ID) || '-' || UDF_LOOKUPMASTER(NVL(MP.PRIMARY_SUB_VERTICAL_ID, MI.PRIMARY_SUB_VERTICAL_ID)) PRIMARY_SUB_VERTICAL_NAME, NVL(MP.SEC_VERTICAL_ID, MI.SEC_VERTICAL_ID) || '-' || UDF_LOOKUPMASTER(NVL(MP.SEC_
VERTICAL_ID, MI.SEC_VERTICAL_ID)) SEC_VERTICAL_NAME, NVL(MP.SEC_SUB_VERTICAL_ID, MI.SEC_SUB_VERTICAL_ID) || '-' || UDF_LOOKUPMASTER(NVL(MP.SEC_SUB_VERTICAL_ID, MI.SEC_SUB_VERTICAL_ID)) SEC_SUB_VERTICAL_NAME, UDF_AGENT_NAME(MI.AGENT_ID), NVL(MP.IL_BRANCH, MI.IL_BRANCH) || '-' || UDF_MAS_BRANCHES(NVL(MP.IL_BRANCH, MI.IL_BRANCH)) IL_BRANCH_NAME, MI.PRODUCT_ID, MP.SYSTEM_ASSIGN_CSM, MI.GRG_DIVERSION GARAGEDIVERSION, UDF_USER_EMP_ID_TO_USER_NAME(MI.EMP_ID) EMP_ID, UDF_EMPIDTODESIGNATION(
MI.EMP_ID) EMP_ROLE, MI.CUST_CATEGORY CUST_CATEGORY FROM MOT_INTIMATIONS MI, MOT_CLAIM_POLICIES MP, MOT_INT_POLICIES, MOT_INT_LOSSES, MOT_INT_TPS, MOT_INT_GARAGES, MOT_INT_THEFTS WHERE MI.INTIMATION_ID = MP.INTIMATION_ID AND MI.INTIMATION_ID = MOT_INT_POLICIES.INTIMATION_ID AND MI.INTIMATION_ID = MOT_INT_LOSSES.INTIMATION_ID AND MI.INTIMATION_ID = MOT_INT_TPS.INTIMATION_ID(+) AND MI.INTIMATION_ID = MOT_INT_GARAGES.INTIMATION_ID(+) AND MI.INTIMATION_ID = MOT_INT_THEFTS.INTIMATION_ID(+) AND
MI.ACTIVE_FLAG = 'Y' AND MI.POLICY_ID = :B1 |
7xy7angq4tqwh | SELECT LOOKUP_NAME FROM MAS_LOOKUPS WHERE LOOKUP_ID = :B1 |
81uv5qcuu2907 |
SELECT COUNT(NODE_ID) FROM (SELECT A.*, CSI.CASEDESC, ROWNUM RNUM FROM (SELECT OM.NODE_ID, OM.PROC_ID, OM.CASE_NAME CASENUM, OM.STEP_NAME STEPNAME, TAT_FLAG, CUST_CATEGORY, POLICY_ID, CLAIM_REF_NO, POLICY_NO, REQUEST_NAME, REQUEST_TYPE, INTIMATION_NOL, HUB_CODE, REQ_SUB_TYPE_DESC, req_sub_type , reqid, phy_chq_stat, Pay_Id FROM SWPRO.DUMMY_CHK_LEVEL OM, VW_REQUESTS TC WHERE OM.NODE_ID = TC.NODE_ID AND OM.PROC_ID = TC.PROC_ID AND OM.NODE_ID + OM.PROC_ID = TC.NODE_ID + TC.PROC_ID AND OM.CASE_
REF_NO = TC.CLAIM_REF_NO AND OM.NODE_ID=1 AND OM.PROC_ID in (6, 12) AND (1=1) AND HUB_CODE IN ('W4') AND TC.INTIMATION_NOL || TC.SUB_PRODUCT_ID IN (SELECT A.X || B.Y
FROM (SELECT T.LOOKUP_CODE "X"
FROM LOMB_MOTOR.MAS_LOOKUPS T,
LOMB_MOTOR.MAS_USER_MAPPING M
WHERE T.LOOKUP_ID = M.PARAM_VALUE
AND M.USER_ID = 504214
AND M.PARAM_ID = 'P002') A,
(SELECT M.PARAM_VALUE "Y"
FROM LOMB_MOTOR.MAS_USER_MAPPING M
WHERE M.USER_ID = 504214
AND M.PARAM_ID = 'P004') B) AND ((REQUEST_TYPE IN (9, 10)) OR
(REQUEST_TYPE IN
( SELECT TO_NUMBER(T.LOOKUP_CODE)
FROM MAS_USER_MAPPING TT, MAS_LOOKUPS T
WH
ERE TT.PARAM_ID = 'P012'
AND TT.PARAM_VALUE > 0
AND TT.PARAM_VALUE = T.LOOKUP_ID
AND DECODE(TT.PARAM_ID, 'P012', 1, 0) = 1
AND TT.USER_ID = 504214 ))) AND DECODE(OM.STEP_NAME, 'REQTQC', 1, 0)=1 ) A, lomb_motor.Z_CASESTATUSINFO CSI WHERE A.NODE_ID=CSI.NODE_ID (+) AND A.PROC_ID=CSI.PROC_ID(+) AND A.CLAIM_REF_NO=CSI.CASEDESC(+) AND A.STEPNAME=CSI.STEPNAME(+) AND DECODE(CSI.CASEDESC, NULL, 1, 0)=1 ) B
|
87tnyju5dmnau |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN UPPER(CO_INSURER_STATUS) = 'FOLLOWER' THEN
CASE WHEN COINSURER_NAME2 IS NULL THEN
ERROR_DESC ||'-COINSURER_NAME2 is null when CO_INSURANCE_STATUS is FOLLOWER '
WHEN NOT REGEXP_LIKE(COINSURER_NAME2, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-COINSURER_NAME2 not valid alphanumeric'
WHEN LENGTH(TRI
M(COINSURER_NAME2)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME2') THEN
ERROR_DESC ||'-COINSURER_NAME2 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN CO_INSURANCE_PERC2 IS NOT NU
LL THEN
CASE WHEN COINSURER_NAME2 IS NULL THEN
ERROR_DESC ||'-COINSURER_NAME2 is null when (co_insurance_perc2 is not null)'
WHEN NOT REGEXP_LIKE(COINSURER_NAME2, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-COINSURER_NAME2 not valid alphanumeric'
WHEN LENGTH(TRIM(COINSURER_NAME2)) >
(S
ELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME2') THEN
ERROR_DESC ||'-COINSURER_NAME2 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN UPPER(CO_INSURER_STATUS) = 'FOLLOWER' THEN
CASE WHEN COINSURER_NAME2 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(COINSURER_NAME2, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(COINSURER_NAME2)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME2') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN CO_INSURANCE_PERC2 IS NOT NULL THEN
CASE WHEN COINSURER_NAME2 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(COINSURER_NAME2, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(COINSURER_NAME2)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME2') THEN
ERROR_CNT + 1
ELSE
ERROR_C
NT
END
ELSE
ERROR_CNT
END
END
WHERE COINSURER_NAME1 IS NULL AND COINSURER_NAME3 IS NULL AND COINSURER_NAME4 IS NULL AND COINSURER_NAME5 IS NULL AND COINSURER_NAME6 IS NULL AND COINSURER_NAME7 IS NULL AND FILE_ID =20323
|
88zqv8771j98t | begin USP_GetSPName(P_Step=>:P_Step, P_Trans_Type=>:P_Trans_Type, P_SPName=>:P_SPName, P_Resultset_Type=>:P_Resultset_Type, P_Error_No=>:P_Error_No); end; |
89n1add5kg4mg |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN UPPER(PAYMENT_TO) IN ('INSURED') THEN
CASE WHEN PAYEE_NAME IS NULL THEN
CASE WHEN PAYMENT_TO = '1' THEN
ERROR_DESC ||'-PAYEE_NAME is null'
ELSE
ERROR_DESC ||'-PAYEE_NAME is null when payment_to is (insured)'
END
WHEN NOT REGEXP_LIKE(PAYEE_NAME, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-PAYEE_NAME not proper'
WHEN LENGTH(TRIM(PAYEE_NAME)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'PAYEE_NAME
') THEN
ERROR_DESC ||'-PAYEE_NAME data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN PAYEE_NAME IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(PAYEE_NAME, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-PAYEE
_NAME not proper'
WHEN LENGTH(TRIM(PAYEE_NAME)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'PAYEE_NAME') THEN
ERROR_DESC ||'-PAYEE_NAME data length exceede
d'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN UPPER(PAYMENT_TO) IN ('INSURED') THEN
CASE WHEN PAYEE_NAME IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(PAYEE_NAME, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(PAYEE_NAME)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'PAYEE_NAME') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN PAYEE_NAME IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(PAYEE_NAME, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(PAYEE_NAME)) >
(SELECT
DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'PAYEE_NAME') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
ERROR_CNT
END
END
/*WHERE UPPER(PAYMENT_TO) IN ('INSURED')*/
WHERE FILE_ID =20321 |
8cytk30xjuv2q |
begin usp_queuepage_mar_007(P_QUEUENAME=>:P_QUEUENAME, P_TYPEID=>:P_TYPEID, P_SP=>:P_SP, P_EP=>:P_EP, P_EXT_WHERE=>:P_EXT_WHERE, P_FILTER_TYPE=>:P_FILTER_TYPE, P_CUR_TYPE=>:P_CUR_TYPE, P_USER_ID=>:P_USER_ID, P_QUEUE_TYPE=>:P_QUEUE_TYPE, P_ERR_NO=>:P_ERR_NO, P_CURSOR=>:P_CURSOR, P_REC_CNT=>:P_REC_CNT); end;
|
8ggw94h7mvxd7 | COMMIT |
8nsazv2s7hdmt |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN ADVICE_NO IS NOT NULL THEN
CASE WHEN ADVICE_NO IS NULL THEN
ERROR_DESC ||'-ADVICE_NO is null when (advice_no is not null)'
WHEN NOT REGEXP_LIKE(ADVICE_NO, '^[[:alnum:][:cntrl:][:space:]]+$') THEN
ERROR_DESC ||'-ADVICE_NO not proper'
WHEN LENGTH(TRIM(ADVICE_NO)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'ADVICE_NO') THEN
ERROR_DESC ||'-ADVICE_NO data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN ADVICE_NO IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(ADVICE_NO, '^[[:alnum:][:cntrl:][:space:]]+$') THEN
ERROR_DESC ||'-ADVICE_NO not proper'
WHEN LENGTH(TRIM(ADVICE_NO)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WH
ERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'ADVICE_NO') THEN
ERROR_DESC ||'-ADVICE_NO data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN ADVICE_
NO IS NOT NULL THEN
CASE WHEN ADVICE_NO IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(ADVICE_NO, '^[[:alnum:][:cntrl:][:space:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(ADVICE_NO)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TA
BLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'ADVICE_NO') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN ADVICE_NO IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(ADVICE_NO, '^[[:alnum:][:cntrl:][:space:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(ADVICE_NO)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'ADVICE_NO') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
ERROR_CNT
END
END
WHERE FILE_ID =20321 |
8xw2u61uaqn0x |
begin usp_queuepage_007(P_QUEUENAME=>:P_QUEUENAME, P_TYPEID=>:P_TYPEID, P_SP=>:P_SP, P_EP=>:P_EP, P_EXT_WHERE=>:P_EXT_WHERE, P_FILTER_TYPE=>:P_FILTER_TYPE, P_CUR_TYPE=>:P_CUR_TYPE, P_USER_ID=>:P_USER_ID, P_QUEUE_TYPE=>:P_QUEUE_TYPE, P_ERR_NO=>:P_ERR_NO, P_CURSOR=>:P_CURSOR, P_REC_CNT=>:P_REC_CNT); end;
|
90r9cpg25m55c | SELECT MITD.NOL FROM MOT_ICD_TP_DETAILS MITD WHERE MITD.ICD_TP_DET_ID = (SELECT MAX(ICD_TP_DET_ID) FROM MOT_ICD_TP_DETAILS WHERE POLICY_ID = :B1 ) |
9d8c3ag17vhg6 | SELECT COUNT (1) FROM MAS_USERS MU WHERE UPPER(MU.EMPLOYEE_ID) = UPPER(:B1 ) |
9pmcw4vd8sc7g | DELETE FROM ROW_DUMPER_STRING |
9t8syvg8jkuab |
begin usp_queuepage_009(P_QUEUENAME=>:P_QUEUENAME, P_TYPEID=>:P_TYPEID, P_SP=>:P_SP, P_EP=>:P_EP, P_EXT_WHERE=>:P_EXT_WHERE, P_FILTER_TYPE=>:P_FILTER_TYPE, P_CUR_TYPE=>:P_CUR_TYPE, P_USER_ID=>:P_USER_ID, P_QUEUE_TYPE=>:P_QUEUE_TYPE, P_ERR_NO=>:P_ERR_NO, P_CURSOR=>:P_CURSOR, P_REC_CNT=>:P_REC_CNT); end;
|
av983xr2abc5a |
SELECT COUNT(NODE_ID) FROM (SELECT A.*, CSI.CASEDESC, ROWNUM RNUM FROM (SELECT OM.NODE_ID, OM.PROC_ID, OM.CASE_NAME CASENUM, OM.STEP_NAME STEPNAME, TAT_FLAG, CUST_CATEGORY, POLICY_ID, CLAIM_REF_NO, POLICY_NO, REQUEST_NAME, REQUEST_TYPE, INTIMATION_NOL, HUB_CODE, REQ_SUB_TYPE_DESC, req_sub_type , reqid, phy_chq_stat, Pay_Id FROM SWPRO.DUMMY_CHK_LEVEL OM, VW_REQUESTS TC WHERE OM.NODE_ID = TC.NODE_ID AND OM.PROC_ID = TC.PROC_ID AND OM.NODE_ID + OM.PROC_ID = TC.NODE_ID + TC.PROC_ID AND OM.CASE_
REF_NO = TC.CLAIM_REF_NO AND OM.NODE_ID=1 AND OM.PROC_ID in (6, 12) AND (1=1) AND TC.INTIMATION_NOL || TC.SUB_PRODUCT_ID IN (SELECT A.X || B.Y
FROM (SELECT T.LOOKUP_CODE "X"
FROM LOMB_MOTOR.MAS_LOOKUPS T,
LOMB_MOTOR.MAS_USER_MAPPING M
WHERE T.LOOKUP_ID = M.PARAM_VALUE
AND M.USER_ID = 502750
AND M.PARAM_I
D = 'P002') A,
(SELECT M.PARAM_VALUE "Y"
FROM LOMB_MOTOR.MAS_USER_MAPPING M
WHERE M.USER_ID = 502750
AND M.PARAM_ID = 'P004') B) AND ((REQUEST_TYPE IN (9, 10)) OR
(REQUEST_TYPE IN
( SELECT TO_NUMBER(T.LOOKUP_CODE)
FROM MAS_USER_MAPPING TT, MAS_LOOKUPS T
WHERE TT.PARAM_ID = 'P012
'
AND TT.PARAM_VALUE > 0
AND TT.PARAM_VALUE = T.LOOKUP_ID
AND DECODE(TT.PARAM_ID, 'P012', 1, 0) = 1
AND TT.USER_ID = 502750 ))) AND DECODE(OM.STEP_NAME, 'REQCPU', 1, 0)=1 ) A, lomb_motor.Z_CASESTATUSINFO CSI WHERE A.NODE_ID=CSI.NODE_ID (+) AND A.PROC_ID=CSI.PROC_ID(+) AND A.CLAIM_REF_NO=CSI.CASEDESC(+) AND A.STEPNAME=CSI.STEPNAME(+) AND DECODE(CSI.CASEDESC, NULL, 1, 0)=1 ) B
|
b6f04rkz1k271 |
SELECT COUNT(NODE_ID) FROM (SELECT A.*, CSI.CASEDESC, ROWNUM RNUM FROM (SELECT OM.NODE_ID, OM.PROC_ID, OM.CASE_NAME CASENUM, OM.STEP_NAME STEPNAME, TAT_FLAG, CUST_CATEGORY, POLICY_ID, CLAIM_REF_NO, POLICY_NO, REQUEST_NAME, REQUEST_TYPE, INTIMATION_NOL, HUB_CODE, REQ_SUB_TYPE_DESC, req_sub_type , reqid, phy_chq_stat, Pay_Id FROM SWPRO.DUMMY_CHK_LEVEL OM, VW_REQUESTS TC WHERE OM.NODE_ID = TC.NODE_ID AND OM.PROC_ID = TC.PROC_ID AND OM.NODE_ID + OM.PROC_ID = TC.NODE_ID + TC.PROC_ID AND OM.CASE_
REF_NO = TC.CLAIM_REF_NO AND OM.NODE_ID=1 AND OM.PROC_ID in (6) AND (1=1) AND TC.INTIMATION_NOL || TC.SUB_PRODUCT_ID IN (SELECT A.X || B.Y
FROM (SELECT T.LOOKUP_CODE "X"
FROM LOMB_MOTOR.MAS_LOOKUPS T,
LOMB_MOTOR.MAS_USER_MAPPING M
WHERE T.LOOKUP_ID = M.PARAM_VALUE
AND M.USER_ID = 507937
AND M.PARAM_ID =
'P002') A,
(SELECT M.PARAM_VALUE "Y"
FROM LOMB_MOTOR.MAS_USER_MAPPING M
WHERE M.USER_ID = 507937
AND M.PARAM_ID = 'P004') B) AND ((REQUEST_TYPE IN (9, 10)) OR
(REQUEST_TYPE IN
( SELECT TO_NUMBER(T.LOOKUP_CODE)
FROM MAS_USER_MAPPING TT, MAS_LOOKUPS T
WHERE TT.PARAM_ID = 'P012'
AND TT.PARAM_VALUE > 0
AND TT.PARAM_VALUE = T.LOOKUP_ID
AND DECODE(TT.PARAM_ID, 'P012', 1, 0) = 1
AND TT.USER_ID = 507937 ))) AND DECODE(OM.STEP_NAME, 'REQACC', 1, 0)=1 ) A, lomb_motor.Z_CASESTATUSINFO CSI WHERE A.NODE_ID=CSI.NODE_ID (+) AND A.PROC_ID=CSI.PROC_ID(+) AND A.CLAIM_REF_NO=CSI.CASEDESC(+) AND A.STEPNAME=CSI.STEPNAME(+) AND DECODE(CSI.CASEDESC, NULL, 1, 0)=1 ) B
|
ba3uhuv527q74 |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN COINSURER_NAME2 IS NOT NULL THEN
CASE WHEN CO_INSURANCE_PERC2 IS NULL THEN
ERROR_DESC ||'-CO_INSURANCE_PERC2 is null when (coinsurer_name2 is not null)'
WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC2, '^[[:digit:]]+$') THEN
ERROR_DESC ||'-CO_INSURANCE_PERC2 not valid number'
W
HEN CO_INSURANCE_PERC2 > 100 THEN
ERROR_DESC ||'-CO_INSURANCE_PERC2 cannot Exceed 100'
WHEN LENGTH(TRIM(CO_INSURANCE_PERC2)) >
(SELECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CO_INSURANCE_PERC2') THEN
ERRO
R_DESC ||'-CO_INSURANCE_PERC2 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN CO_INSURANCE_PERC2 IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC2, '^[[:digit:]]+$') THEN
ERROR_DESC ||'-CO_INSURANCE_PERC2 not valid number'
WHEN CO_INSURANCE_PERC2 > 100 THEN
ERROR_DESC ||'-CO_INSURANCE_PERC2 cannot Exceed 100'
WHEN LENGTH(TRIM(CO_INSURANCE_PERC2)) >
(SELECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN
_NAME = 'CO_INSURANCE_PERC2') THEN
ERROR_DESC ||'-CO_INSURANCE_PERC2 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN COINSURER_NAME2 I
S NOT NULL THEN
CASE WHEN CO_INSURANCE_PERC2 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC2, '^[[:digit:]]+$') THEN
ERROR_CNT + 1
WHEN CO_INSURANCE_PERC2 > 100 THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(CO_INSURANCE_PERC2)) >
(SE
LECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CO_INSURANCE_PERC2') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN CO_INSURANCE_PERC2 IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC2, '^[[:digit:]]+$') THEN
ERROR_CNT + 1
WHEN CO_INSURANCE_PERC2 > 100 THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(CO_INSURANCE_PERC2)) >
(SELECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CO_INSURANCE_PERC2') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
ERROR_CNT
END
END
WHERE FILE_ID =20321
|
bawn0gsm1sb7r |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN UPPER(PAYMENT_TO) IN ('INSURED') THEN
CASE WHEN PAYEE_NAME IS NULL THEN
CASE WHEN PAYMENT_TO = '1' THEN
ERROR_DESC ||'-PAYEE_NAME is null'
ELSE
ERROR_DESC ||'-PAYEE_NAME is null when payment_to is (insured)'
END
WHEN NOT REGEXP_LIKE(PAYEE_NAME, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-PAYEE_NAME not proper'
WHEN LENGTH(TRIM(PAYEE_NAME)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'PAYEE_NAME
') THEN
ERROR_DESC ||'-PAYEE_NAME data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN PAYEE_NAME IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(PAYEE_NAME, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-PAYEE
_NAME not proper'
WHEN LENGTH(TRIM(PAYEE_NAME)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'PAYEE_NAME') THEN
ERROR_DESC ||'-PAYEE_NAME data length exceede
d'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN UPPER(PAYMENT_TO) IN ('INSURED') THEN
CASE WHEN PAYEE_NAME IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(PAYEE_NAME, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(PAYEE_NAME)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'PAYEE_NAME') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN PAYEE_NAME IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(PAYEE_NAME, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(PAYEE_NAME)) >
(SELECT
DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'PAYEE_NAME') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
ERROR_CNT
END
END
/*WHERE UPPER(PAYMENT_TO) IN ('INSURED')*/
WHERE FILE_ID =20322 |
bctjjgz5rca6m | SELECT COUNT (*) FROM MAS_LOOKUPS WHERE LOOKUP_ID = :B1 |
bnqr7svzg1mug |
SELECT COUNT(NODE_ID) FROM (SELECT A.*, CSI.CASEDESC, ROWNUM RNUM FROM (SELECT OM.NODE_ID, OM.PROC_ID, OM.CASE_NAME CASENUM, OM.STEP_NAME STEPNAME, TAT_FLAG, CUST_CATEGORY, POLICY_ID, CLAIM_REF_NO, POLICY_NO, REQUEST_NAME, REQUEST_TYPE, INTIMATION_NOL, HUB_CODE, REQ_SUB_TYPE_DESC, req_sub_type , reqid, phy_chq_stat, Pay_Id FROM SWPRO.DUMMY_CHK_LEVEL OM, VW_REQUESTS TC WHERE OM.NODE_ID = TC.NODE_ID AND OM.PROC_ID = TC.PROC_ID AND OM.NODE_ID + OM.PROC_ID = TC.NODE_ID + TC.PROC_ID AND OM.CASE_
REF_NO = TC.CLAIM_REF_NO AND OM.NODE_ID=1 AND OM.PROC_ID in (6, 12) AND (1=1) AND TC.INTIMATION_NOL || TC.SUB_PRODUCT_ID IN (SELECT A.X || B.Y
FROM (SELECT T.LOOKUP_CODE "X"
FROM LOMB_MOTOR.MAS_LOOKUPS T,
LOMB_MOTOR.MAS_USER_MAPPING M
WHERE T.LOOKUP_ID = M.PARAM_VALUE
AND M.USER_ID = 500013
AND M.PARAM_I
D = 'P002') A,
(SELECT M.PARAM_VALUE "Y"
FROM LOMB_MOTOR.MAS_USER_MAPPING M
WHERE M.USER_ID = 500013
AND M.PARAM_ID = 'P004') B) AND ((REQUEST_TYPE IN (9, 10)) OR
(REQUEST_TYPE IN
( SELECT TO_NUMBER(T.LOOKUP_CODE)
FROM MAS_USER_MAPPING TT, MAS_LOOKUPS T
WHERE TT.PARAM_ID = 'P012
'
AND TT.PARAM_VALUE > 0
AND TT.PARAM_VALUE = T.LOOKUP_ID
AND DECODE(TT.PARAM_ID, 'P012', 1, 0) = 1
AND TT.USER_ID = 500013 ))) AND DECODE(OM.STEP_NAME, 'REQCPU', 1, 0)=1 ) A, lomb_motor.Z_CASESTATUSINFO CSI WHERE A.NODE_ID=CSI.NODE_ID (+) AND A.PROC_ID=CSI.PROC_ID(+) AND A.CLAIM_REF_NO=CSI.CASEDESC(+) AND A.STEPNAME=CSI.STEPNAME(+) AND DECODE(CSI.CASEDESC, NULL, 1, 0)=1 ) B
|
c6s39fhavjh4s |
begin USP_SELECT_MOT_INT_MOT_CLAIM_P(P_CUST_REF_NO=>:P_CUST_REF_NO, P_CLAIM_REF_NO=>:P_CLAIM_REF_NO, P_POLICY_NO=>:P_POLICY_NO, P_COVER_NOTE_NO=>:P_COVER_NOTE_NO, P_VEH_REG_NO=>:P_VEH_REG_NO, P_PRODUCT_ID=>:P_PRODUCT_ID, P_SUB_PRODUCT_ID=>:P_SUB_PRODUCT_ID, P_INT_NOL=>:P_INT_NOL, P_GARAGE_NAME=>:P_GARAGE_NAME, P_DATE_FROM=>:P_DATE_FROM, P_DATE_TO=>:P_DATE_TO, P_INSURED_NAME=>:P_INSURED_NAME, P_PAYMENT_ID=>:P_PAYMENT_ID, P_CHEQUE_NO=>:P_CHEQUE_NO, P_CASE_NO=>:P_CASE_NO, P_Cursor=>:
P_Cursor, P_Error_No=>:P_Error_No); end; |
dp941u2yhcygr |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN UPPER(CO_INSURER_STATUS) = 'FOLLOWER' THEN
CASE WHEN COINSURER_NAME3 IS NULL THEN
ERROR_DESC ||'-COINSURER_NAME3 is null when CO_INSURANCE_STATUS is FOLLOWER '
WHEN NOT REGEXP_LIKE(COINSURER_NAME3, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-COINSURER_NAME3 not valid alphanumeric'
WHEN LENGTH(TRI
M(COINSURER_NAME3)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME3') THEN
ERROR_DESC ||'-COINSURER_NAME3 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN CO_INSURANCE_PERC3 IS NOT NU
LL THEN
CASE WHEN COINSURER_NAME3 IS NULL THEN
ERROR_DESC ||'-COINSURER_NAME3 is null when (co_insurance_perc3 is not null)'
WHEN NOT REGEXP_LIKE(COINSURER_NAME3, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-COINSURER_NAME3 not valid alphanumeric'
WHEN LENGTH(TRIM(COINSURER_NAME3)) >
(S
ELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME3') THEN
ERROR_DESC ||'-COINSURER_NAME3 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN UPPER(CO_INSURER_STATUS) = 'FOLLOWER' THEN
CASE WHEN COINSURER_NAME3 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(COINSURER_NAME3, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(COINSURER_NAME3)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME3') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN CO_INSURANCE_PERC3 IS NOT NULL THEN
CASE WHEN COINSURER_NAME3 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(COINSURER_NAME3, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(COINSURER_NAME3)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME3') THEN
ERROR_CNT + 1
ELSE
ERROR_C
NT
END
ELSE
ERROR_CNT
END
END
WHERE COINSURER_NAME1 IS NULL AND COINSURER_NAME2 IS NULL AND COINSURER_NAME4 IS NULL AND COINSURER_NAME5 IS NULL AND COINSURER_NAME6 IS NULL AND COINSURER_NAME7 IS NULL AND FILE_ID =20323
|
dxn4nmtus27fg |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN CLAIM_HOSP_STAGE IS NOT NULL THEN
CASE WHEN CLAIM_HOSP_STAGE IS NULL THEN
ERROR_DESC ||'-CLAIM_HOSP_STAGE is null when (claim_hosp_stage is not null)'
WHEN NOT REGEXP_LIKE(CLAIM_HOSP_STAGE, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-CLAIM_HOSP_STAGE not valid alphanumeric'
WHEN LENGTH(TRIM(CLAIM_HOSP_STAGE)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CLAIM_HOSP_STAGE') THEN
ERROR_DESC ||'-CLAIM_HOSP_STAGE data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN CLAIM_HOSP_STAGE IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(CLAIM_HOSP_STAGE, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-CLAIM_HOSP_STAGE not valid alphanumeric'
WHEN LENGTH(TRIM(CLAIM_HOSP_STAGE)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CLAIM_HOSP_STAGE') THEN
ERROR_DESC ||'-CLAIM_HOSP_STAGE data length exceeded'
ELSE
ERROR_DESC
END
EL
SE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN CLAIM_HOSP_STAGE IS NOT NULL THEN
CASE WHEN CLAIM_HOSP_STAGE IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(CLAIM_HOSP_STAGE, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WH
EN LENGTH(TRIM(CLAIM_HOSP_STAGE)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CLAIM_HOSP_STAGE') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN CLAIM_HOSP_STAGE IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(CLAIM_HOSP_STAGE, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(CLAIM_HOSP_STAGE)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CLAIM_HOSP_STAGE') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
ERROR_CNT
END
END
WHERE
FILE_ID =20321 |
f8b92a5d84r31 |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN UPPER(CO_INSURER_STATUS) = 'FOLLOWER' THEN
CASE WHEN COINSURER_NAME3 IS NULL THEN
ERROR_DESC ||'-COINSURER_NAME3 is null when CO_INSURANCE_STATUS is FOLLOWER '
WHEN NOT REGEXP_LIKE(COINSURER_NAME3, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-COINSURER_NAME3 not valid alphanumeric'
WHEN LENGTH(TRI
M(COINSURER_NAME3)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME3') THEN
ERROR_DESC ||'-COINSURER_NAME3 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN CO_INSURANCE_PERC3 IS NOT NU
LL THEN
CASE WHEN COINSURER_NAME3 IS NULL THEN
ERROR_DESC ||'-COINSURER_NAME3 is null when (co_insurance_perc3 is not null)'
WHEN NOT REGEXP_LIKE(COINSURER_NAME3, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-COINSURER_NAME3 not valid alphanumeric'
WHEN LENGTH(TRIM(COINSURER_NAME3)) >
(S
ELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME3') THEN
ERROR_DESC ||'-COINSURER_NAME3 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN UPPER(CO_INSURER_STATUS) = 'FOLLOWER' THEN
CASE WHEN COINSURER_NAME3 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(COINSURER_NAME3, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(COINSURER_NAME3)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME3') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN CO_INSURANCE_PERC3 IS NOT NULL THEN
CASE WHEN COINSURER_NAME3 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(COINSURER_NAME3, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(COINSURER_NAME3)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME3') THEN
ERROR_CNT + 1
ELSE
ERROR_C
NT
END
ELSE
ERROR_CNT
END
END
WHERE COINSURER_NAME1 IS NULL AND COINSURER_NAME2 IS NULL AND COINSURER_NAME4 IS NULL AND COINSURER_NAME5 IS NULL AND COINSURER_NAME6 IS NULL AND COINSURER_NAME7 IS NULL AND FILE_ID =20321
|
fbp8293f81bhu |
select count(node_id) from (select a.*, csi.casedesc, rownum rnum from (select om.node_id, om.proc_id, om.casenum, om.stepname, tat_flag, CLAIM_ID , CLAIM_REF_NO, CLAIM_NO, POLICY_NO, INSURED_NAME, CLAIM_OWNER_CSM_NAME, IL_BRANCH , ESTIMATED_LOSS , vertical , ILA_REF_NO , Region, claim_owner_csm_id from swpro.outstanding_mail om, swpro.case_information ci, MAR_CLAIM_POLICIES tc where om.node_id=ci.node_id and om.proc_id=ci.proc_id and om.casenum=ci.casenum and ci.node_id=tc.node_id and ci.
proc_id=tc.proc_id and ci.casedesc=tc.claim_ref_no and ci.flags=0 and om.node_id=1 AND OM.PROC_ID in (3) AND (1=1) and (UPPER(nvl(CLAIM_OWNER_CSM_ID, 'a'))<>UPPER('92189') AND UPPER(nvl(SECONDARY_CSM, 'a'))<>UPPER('92189') AND UPPER(nvl(REP_AUTH_ID, 'a'))<>UPPER('92189') AND UPPER(nvl(EXT_SURVEYOR_ASSIGN, 'a'))<>UPPER('92189')) AND (CLAIM_OWNER_CSM_ID IS NOT NULL
or rep_auth_id is not null) and om.stepname in ('MARCSM')) a, z_casestatusinfo csi where a.node_id=csi.node_id (+) and a.
proc_id=csi.proc_id(+) and a.claim_ref_no=csi.casedesc(+) and a.stepname=csi.stepname(+) and csi.casedesc is null ) b |
fnvtdubag4gnu |
SELECT COUNT(NODE_ID) FROM (SELECT A.*, CSI.CASEDESC, ROWNUM RNUM FROM (SELECT OM.NODE_ID, OM.PROC_ID, OM.CASE_NAME CASENUM, OM.STEP_NAME STEPNAME, TAT_FLAG, CUST_CATEGORY, POLICY_ID, CLAIM_REF_NO, POLICY_NO, REQUEST_NAME, REQUEST_TYPE, INTIMATION_NOL, HUB_CODE, REQ_SUB_TYPE_DESC, req_sub_type , reqid, phy_chq_stat, Pay_Id FROM SWPRO.DUMMY_CHK_LEVEL OM, VW_REQUESTS TC WHERE OM.NODE_ID = TC.NODE_ID AND OM.PROC_ID = TC.PROC_ID AND OM.NODE_ID + OM.PROC_ID = TC.NODE_ID + TC.PROC_ID AND OM.CASE_
REF_NO = TC.CLAIM_REF_NO AND OM.NODE_ID=1 AND OM.PROC_ID in (6, 12) AND (1=1) AND HUB_CODE IN ('S3') AND TC.INTIMATION_NOL || TC.SUB_PRODUCT_ID IN (SELECT A.X || B.Y
FROM (SELECT T.LOOKUP_CODE "X"
FROM LOMB_MOTOR.MAS_LOOKUPS T,
LOMB_MOTOR.MAS_USER_MAPPING M
WHERE T.LOOKUP_ID = M.PARAM_VALUE
AND M.USER_ID = 2129
AND M.PARAM_ID = 'P002') A,
(SELECT M.PARAM_VALUE "Y"
FROM LOMB_MOTOR.MAS_USER_MAPPING M
WHERE M.USER_ID = 2129
AND M.PARAM_ID = 'P004') B) AND ((REQUEST_TYPE IN (9, 10)) OR
(REQUEST_TYPE IN
( SELECT TO_NUMBER(T.LOOKUP_CODE)
FROM MAS_USER_MAPPING TT, MAS_LOOKUPS T
WHERE
TT.PARAM_ID = 'P012'
AND TT.PARAM_VALUE > 0
AND TT.PARAM_VALUE = T.LOOKUP_ID
AND DECODE(TT.PARAM_ID, 'P012', 1, 0) = 1
AND TT.USER_ID = 2129 ))) AND DECODE(OM.STEP_NAME, 'REQTQC', 1, 0)=1 ) A, lomb_motor.Z_CASESTATUSINFO CSI WHERE A.NODE_ID=CSI.NODE_ID (+) AND A.PROC_ID=CSI.PROC_ID(+) AND A.CLAIM_REF_NO=CSI.CASEDESC(+) AND A.STEPNAME=CSI.STEPNAME(+) AND DECODE(CSI.CASEDESC, NULL, 1, 0)=1 ) B
|
funpahfhp0p06 |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN UPPER(CO_INSURER_STATUS) = 'FOLLOWER' THEN
CASE WHEN COINSURER_NAME3 IS NULL THEN
ERROR_DESC ||'-COINSURER_NAME3 is null when CO_INSURANCE_STATUS is FOLLOWER '
WHEN NOT REGEXP_LIKE(COINSURER_NAME3, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-COINSURER_NAME3 not valid alphanumeric'
WHEN LENGTH(TRI
M(COINSURER_NAME3)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME3') THEN
ERROR_DESC ||'-COINSURER_NAME3 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN CO_INSURANCE_PERC3 IS NOT NU
LL THEN
CASE WHEN COINSURER_NAME3 IS NULL THEN
ERROR_DESC ||'-COINSURER_NAME3 is null when (co_insurance_perc3 is not null)'
WHEN NOT REGEXP_LIKE(COINSURER_NAME3, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-COINSURER_NAME3 not valid alphanumeric'
WHEN LENGTH(TRIM(COINSURER_NAME3)) >
(S
ELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME3') THEN
ERROR_DESC ||'-COINSURER_NAME3 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN UPPER(CO_INSURER_STATUS) = 'FOLLOWER' THEN
CASE WHEN COINSURER_NAME3 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(COINSURER_NAME3, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(COINSURER_NAME3)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME3') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN CO_INSURANCE_PERC3 IS NOT NULL THEN
CASE WHEN COINSURER_NAME3 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(COINSURER_NAME3, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(COINSURER_NAME3)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME3') THEN
ERROR_CNT + 1
ELSE
ERROR_C
NT
END
ELSE
ERROR_CNT
END
END
WHERE COINSURER_NAME1 IS NULL AND COINSURER_NAME2 IS NULL AND COINSURER_NAME4 IS NULL AND COINSURER_NAME5 IS NULL AND COINSURER_NAME6 IS NULL AND COINSURER_NAME7 IS NULL AND FILE_ID =20322
|
fztfvnj4cctbh |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN UPPER(CO_INSURER_STATUS) = 'FOLLOWER' THEN
CASE WHEN COINSURER_NAME7 IS NULL THEN
ERROR_DESC ||'-COINSURER_NAME7 is null when CO_INSURANCE_STATUS is FOLLOWER '
WHEN NOT REGEXP_LIKE(COINSURER_NAME7, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-COINSURER_NAME7 not valid alphanumeric'
WHEN LENGTH(TRI
M(COINSURER_NAME7)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME7') THEN
ERROR_DESC ||'-COINSURER_NAME7 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN CO_INSURANCE_PERC7 IS NOT NU
LL THEN
CASE WHEN COINSURER_NAME7 IS NULL THEN
ERROR_DESC ||'-COINSURER_NAME7 is null when (co_insurance_perc7 is not null)'
WHEN NOT REGEXP_LIKE(COINSURER_NAME7, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-COINSURER_NAME7 not valid alphanumeric'
WHEN LENGTH(TRIM(COINSURER_NAME7)) >
(S
ELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME7') THEN
ERROR_DESC ||'-COINSURER_NAME7 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN UPPER(CO_INSURER_STATUS) = 'FOLLOWER' THEN
CASE WHEN COINSURER_NAME7 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(COINSURER_NAME7, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(COINSURER_NAME7)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME7') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN CO_INSURANCE_PERC7 IS NOT NULL THEN
CASE WHEN COINSURER_NAME7 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(COINSURER_NAME7, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(COINSURER_NAME7)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME7') THEN
ERROR_CNT + 1
ELSE
ERROR_C
NT
END
ELSE
ERROR_CNT
END
END
WHERE COINSURER_NAME1 IS NULL AND COINSURER_NAME2 IS NULL AND COINSURER_NAME3 IS NULL AND COINSURER_NAME4 IS NULL AND COINSURER_NAME5 IS NULL AND COINSURER_NAME6 IS NULL AND FILE_ID =20321
|
g0ypggbmpscuy |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN UPPER(CO_INSURER_STATUS) = 'FOLLOWER' THEN
CASE WHEN COINSURER_NAME6 IS NULL THEN
ERROR_DESC ||'-COINSURER_NAME6 is null when CO_INSURANCE_STATUS is FOLLOWER '
WHEN NOT REGEXP_LIKE(COINSURER_NAME6, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-COINSURER_NAME6 not valid alphanumeric'
WHEN LENGTH(TRI
M(COINSURER_NAME6)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME6') THEN
ERROR_DESC ||'-COINSURER_NAME6 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN CO_INSURANCE_PERC6 IS NOT NU
LL THEN
CASE WHEN COINSURER_NAME6 IS NULL THEN
ERROR_DESC ||'-COINSURER_NAME6 is null when (co_insurance_perc6 is not null)'
WHEN NOT REGEXP_LIKE(COINSURER_NAME6, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-COINSURER_NAME6 not valid alphanumeric'
WHEN LENGTH(TRIM(COINSURER_NAME6)) >
(S
ELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME6') THEN
ERROR_DESC ||'-COINSURER_NAME6 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN UPPER(CO_INSURER_STATUS) = 'FOLLOWER' THEN
CASE WHEN COINSURER_NAME6 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(COINSURER_NAME6, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(COINSURER_NAME6)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME6') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN CO_INSURANCE_PERC6 IS NOT NULL THEN
CASE WHEN COINSURER_NAME6 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(COINSURER_NAME6, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(COINSURER_NAME6)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME6') THEN
ERROR_CNT + 1
ELSE
ERROR_C
NT
END
ELSE
ERROR_CNT
END
END
WHERE COINSURER_NAME1 IS NULL AND COINSURER_NAME2 IS NULL AND COINSURER_NAME3 IS NULL AND COINSURER_NAME4 IS NULL AND COINSURER_NAME5 IS NULL AND COINSURER_NAME7 IS NULL AND FILE_ID =20323
|
g8fckgz5u7x06 |
SELECT COUNT(1) FROM MOT_UG_ROLES X, (SELECT ROLE_RIGHTS_ID, ROLE_RIGHTS_DESC FROM MAS_ROLE_RIGHTS WHERE ROLE_RIGHTS_PARENT_ID = (SELECT MAS_ROLE_RIGHTS.ROLE_RIGHTS_ID FROM MAS_ROLE_RIGHTS WHERE MAS_ROLE_RIGHTS.ROLE_RIGHTS_ID = :B1 )) Y WHERE X.UTM_TAB_ID(+) = Y.ROLE_RIGHTS_ID AND X.UTM_USERID(+) = UDF_MAS_USERS_EMP_USER_ID(UPPER(:B2 ))
|
ghy4mst7s8akv |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN COINSURER_NAME6 IS NOT NULL THEN
CASE WHEN CO_INSURANCE_PERC6 IS NULL THEN
ERROR_DESC ||'-CO_INSURANCE_PERC6 is null when (coinsurer_name6 is not null)'
WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC6, '^[[:digit:]]+$') THEN
ERROR_DESC ||'-CO_INSURANCE_PERC6 not valid number'
W
HEN CO_INSURANCE_PERC6 > 100 THEN
ERROR_DESC ||'-CO_INSURANCE_PERC6 cannot Exceed 100'
WHEN LENGTH(TRIM(CO_INSURANCE_PERC6)) >
(SELECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CO_INSURANCE_PERC6') THEN
ERRO
R_DESC ||'-CO_INSURANCE_PERC6 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN CO_INSURANCE_PERC6 IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC6, '^[[:digit:]]+$') THEN
ERROR_DESC ||'-CO_INSURANCE_PERC6 not valid number'
WHEN CO_INSURANCE_PERC6 > 100 THEN
ERROR_DESC ||'-CO_INSURANCE_PERC6 cannot Exceed 100'
WHEN LENGTH(TRIM(CO_INSURANCE_PERC6)) >
(SELECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN
_NAME = 'CO_INSURANCE_PERC6') THEN
ERROR_DESC ||'-CO_INSURANCE_PERC6 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN COINSURER_NAME6 I
S NOT NULL THEN
CASE WHEN CO_INSURANCE_PERC6 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC6, '^[[:digit:]]+$') THEN
ERROR_CNT + 1
WHEN CO_INSURANCE_PERC6 > 100 THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(CO_INSURANCE_PERC6)) >
(SE
LECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CO_INSURANCE_PERC6') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN CO_INSURANCE_PERC6 IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(CO_INSURANCE_PERC6, '^[[:digit:]]+$') THEN
ERROR_CNT + 1
WHEN CO_INSURANCE_PERC6 > 100 THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(CO_INSURANCE_PERC6)) >
(SELECT DATA_PRECISION
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'CO_INSURANCE_PERC6') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
ERROR_CNT
END
END
WHERE FILE_ID =20322
|
gqxv3xmfkqv5d |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN UPPER(CO_INSURER_STATUS) = 'FOLLOWER' THEN
CASE WHEN COINSURER_NAME1 IS NULL THEN
ERROR_DESC ||'-COINSURER_NAME1 is null when CO_INSURANCE_STATUS is FOLLOWER '
WHEN NOT REGEXP_LIKE(COINSURER_NAME1, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-COINSURER_NAME1 not valid alphanumeric'
WHEN LENGTH(TRI
M(COINSURER_NAME1)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME1') THEN
ERROR_DESC ||'-COINSURER_NAME1 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN CO_INSURANCE_PERC1 IS NOT NU
LL THEN
CASE WHEN COINSURER_NAME1 IS NULL THEN
ERROR_DESC ||'-COINSURER_NAME1 is null when (co_insurance_perc1 is not null)'
WHEN NOT REGEXP_LIKE(COINSURER_NAME1, '^[[:print:][:cntrl:]]+$') THEN
ERROR_DESC ||'-COINSURER_NAME1 not valid alphanumeric'
WHEN LENGTH(TRIM(COINSURER_NAME1)) >
(S
ELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME1') THEN
ERROR_DESC ||'-COINSURER_NAME1 data length exceeded'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN UPPER(CO_INSURER_STATUS) = 'FOLLOWER' THEN
CASE WHEN COINSURER_NAME1 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(COINSURER_NAME1, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(COINSURER_NAME1)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME1') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN CO_INSURANCE_PERC1 IS NOT NULL THEN
CASE WHEN COINSURER_NAME1 IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(COINSURER_NAME1, '^[[:print:][:cntrl:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(COINSURER_NAME1)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'COINSURER_NAME1') THEN
ERROR_CNT + 1
ELSE
ERROR_C
NT
END
ELSE
ERROR_CNT
END
END
WHERE COINSURER_NAME2 IS NULL AND COINSURER_NAME3 IS NULL AND COINSURER_NAME4 IS NULL AND COINSURER_NAME5 IS NULL AND COINSURER_NAME6 IS NULL AND COINSURER_NAME7 IS NULL AND FILE_ID =20322
|
grwydz59pu6mc | select text from view$ where rowid=:1 |
gtu7u44bpm189 |
SELECT COUNT(NODE_ID) FROM (SELECT A.*, CSI.CASEDESC, ROWNUM RNUM FROM (SELECT OM.NODE_ID, OM.PROC_ID, OM.CASE_NAME CASENUM, OM.STEP_NAME STEPNAME, TAT_FLAG, CUST_CATEGORY, POLICY_ID, CLAIM_REF_NO, POLICY_NO, REQUEST_NAME, REQUEST_TYPE, INTIMATION_NOL, HUB_CODE, REQ_SUB_TYPE_DESC, req_sub_type , reqid, phy_chq_stat, Pay_Id FROM SWPRO.DUMMY_CHK_LEVEL OM, VW_REQUESTS TC WHERE OM.NODE_ID = TC.NODE_ID AND OM.PROC_ID = TC.PROC_ID AND OM.NODE_ID + OM.PROC_ID = TC.NODE_ID + TC.PROC_ID AND OM.CASE_
REF_NO = TC.CLAIM_REF_NO AND OM.NODE_ID=1 AND OM.PROC_ID in (6, 12) AND (1=1) AND TC.INTIMATION_NOL || TC.SUB_PRODUCT_ID IN (SELECT A.X || B.Y
FROM (SELECT T.LOOKUP_CODE "X"
FROM LOMB_MOTOR.MAS_LOOKUPS T,
LOMB_MOTOR.MAS_USER_MAPPING M
WHERE T.LOOKUP_ID = M.PARAM_VALUE
AND M.USER_ID = 501294
AND M.PARAM_I
D = 'P002') A,
(SELECT M.PARAM_VALUE "Y"
FROM LOMB_MOTOR.MAS_USER_MAPPING M
WHERE M.USER_ID = 501294
AND M.PARAM_ID = 'P004') B) AND ((REQUEST_TYPE IN (9, 10)) OR
(REQUEST_TYPE IN
( SELECT TO_NUMBER(T.LOOKUP_CODE)
FROM MAS_USER_MAPPING TT, MAS_LOOKUPS T
WHERE TT.PARAM_ID = 'P012
'
AND TT.PARAM_VALUE > 0
AND TT.PARAM_VALUE = T.LOOKUP_ID
AND DECODE(TT.PARAM_ID, 'P012', 1, 0) = 1
AND TT.USER_ID = 501294 ))) AND DECODE(OM.STEP_NAME, 'REQCPU', 1, 0)=1 ) A, lomb_motor.Z_CASESTATUSINFO CSI WHERE A.NODE_ID=CSI.NODE_ID (+) AND A.PROC_ID=CSI.PROC_ID(+) AND A.CLAIM_REF_NO=CSI.CASEDESC(+) AND A.STEPNAME=CSI.STEPNAME(+) AND DECODE(CSI.CASEDESC, NULL, 1, 0)=1 ) B
|
gvphdgjmtauja |
UPDATE HEA_VALIDATION_DUMP SET ERROR_DESC = CASE WHEN UPPER(PAYMENT_MODE) IN ('FT') THEN
CASE WHEN ACCOUNT_TYPE IS NULL THEN
ERROR_DESC ||'-ACCOUNT_TYPE is null when payment_mode is (ft)'
WHEN NOT REGEXP_LIKE(TRIM(ACCOUNT_TYPE), '^[[:alpha:][:cntrl:][:space:]]+$') THEN
ERROR_DESC ||'-ACCOUNT_TYPE not alphabetic'
WHEN LENGTH(TRIM
(ACCOUNT_TYPE)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'ACCOUNT_TYPE') THEN
ERROR_DESC ||'-ACCOUNT_TYPE data length exceeded'
WHEN UPPER(ACCOUNT_TYPE) NOT IN ('SAVINGS', 'CURRENT', 'CASH CREDIT') THEN
ERROR_DESC ||'-ACCOUNT_TYPE undefined in system'
ELSE
ERROR_DESC
END
ELSE
CASE WHEN ACCOUNT_TYPE IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(TRIM(ACCOUNT_TYPE), '^[[:alpha:][:cntrl:][:space:]]+$') THEN
ERROR_DESC ||'-ACCOUNT_TYPE not alphabetic'
WHEN LENGTH(TRIM(ACCOUNT_TYPE)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'ACCOUNT_TYPE') THEN
ERROR_DESC ||'-ACCOUNT_TYPE data length exceeded'
WHEN UPPER(ACCOUNT_TYPE)
NOT IN ('SAVINGS', 'CURRENT', 'CASH CREDIT') THEN
ERROR_DESC ||'-ACCOUNT_TYPE undefined in system'
ELSE
ERROR_DESC
END
ELSE
ERROR_DESC
END
END,
ERROR_CNT = CASE WHEN UPPER(PAYMENT_MODE) IN ('FT
') THEN
CASE WHEN ACCOUNT_TYPE IS NULL THEN
ERROR_CNT + 1
WHEN NOT REGEXP_LIKE(TRIM(ACCOUNT_TYPE), '^[[:alpha:][:cntrl:][:space:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(ACCOUNT_TYPE)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'ACCOUNT_TYPE') THEN
ERROR_CNT + 1
WHEN UPPER(ACCOUNT_TYPE) NOT IN ('SAVINGS', 'CURRENT', 'CASH CREDIT') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
CASE WHEN ACCOUNT_TYPE IS NOT NULL THEN
CASE WHEN NOT REGEXP_LIKE(TRIM(ACCOUNT_TYPE), '^[[:alpha:][:cntrl:][:space:]]+$') THEN
ERROR_CNT + 1
WHEN LENGTH(TRIM(ACCOUNT_TYPE)) >
(SELECT DATA_LENGTH
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = 'HEA_CLAIM_POLICIES' AND COLUMN_NAME = 'ACCOUNT_TYPE') THEN
ERROR_CNT + 1
WHEN UPPER(ACCOUNT_TYPE) NOT IN ('SAVINGS', 'CURRENT', 'CASH CREDIT') THEN
ERROR_CNT + 1
ELSE
ERROR_CNT
END
ELSE
ERROR_CNT
END
END
/*WHERE UPPE
R(PAYMENT_MODE) IN ('FT')*/
WHERE FILE_ID =20323 |