DEV Community

Query Filter
Query Filter

Posted on

compare

case "$TABLE_NAME" in
    "CacheSetlOrder")
        compareCashesSelUnder "$SREC_DUMP" "$OREC_DUMP" "$AFTER_IDENT_COL"
        ;;
    "ZExecDetailUndInstrmtGrp")
        compareZExecDetailUndInstrmtGrp "$SREC_DUMP" "$OREC_DUMP" "$AFTER_IDENT_COL"
        ;;
    "ZExecutionUndInstrmtGrp")
        compareZExecutionUndInstrmtGrp "$SREC_DUMP" "$OREC_DUMP" "$AFTER_IDENT_COL"
        ;;
    "ZMenu"|"OtherTable1"|"OtherTable2"|"AnotherSpecialTable")
        # Multiple tables use compareSpecial
        compareSpecial "$SREC_DUMP" "$OREC_DUMP" "$AFTER_IDENT_COL"
        ;;
    *)
        # Default comparison for all other tables
        compare "$SREC_DUMP" "$OREC_DUMP" "$AFTER_IDENT_COL"
        ;;
esac
Enter fullscreen mode Exit fullscreen mode

Top comments (0)