/**Begin D:\PDM_UPGRADE\PDM1\BEI_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_BANKPAYINGBILL_E' AND KSQL_COL_NAME IN ('FDECLARETYPE'))
ALTER TABLE T_BEI_BANKPAYINGBILL_E ADD (FDECLARETYPE NVARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_CROSSTRANTYPE_ENTRY' AND KSQL_COL_NAME IN ('FMUSTFILLCONDITIONDESC'))
ALTER TABLE T_BEI_CROSSTRANTYPE_ENTRY ADD (FMUSTFILLCONDITIONDESC NVARCHAR(200) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_CROSSTRANTYPE_ENTRY' AND KSQL_COL_NAME IN ('FMUSTFILLCONDITION'))
ALTER TABLE T_BEI_CROSSTRANTYPE_ENTRY ADD (FMUSTFILLCONDITION NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_CROSSTRANTYPE_ENTRY' AND KSQL_COL_NAME IN ('FMUSTFILLCONDITION_TAG'))
ALTER TABLE T_BEI_CROSSTRANTYPE_ENTRY ADD (FMUSTFILLCONDITION_TAG NCLOB );

/**End D:\PDM_UPGRADE\PDM1\BEI_table.sql **/
