/**Begin D:\PDM\PDM_UPGRADE\pdm1\FCS_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FCS_PAYACCESS_BL' AND KSQL_COL_NAME IN ('FCOMMENT'))
ALTER TABLE T_FCS_PAYACCESS_BL ADD (FCOMMENT NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FCS_PAYACCESS' AND KSQL_COL_NAME IN ('FCOMMENT'))
ALTER TABLE T_FCS_PAYACCESS ADD (FCOMMENT NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FCS_PAYACCESS_RECORD' AND KSQL_COL_NAME IN ('FCOMMENT'))
ALTER TABLE T_FCS_PAYACCESS_RECORD ADD (FCOMMENT NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FCS_PAYACCESS_RECORD_H' AND KSQL_COL_NAME IN ('FCOMMENT'))
ALTER TABLE T_FCS_PAYACCESS_RECORD_H ADD (FCOMMENT NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FCS_PAYACCESS_SET' AND KSQL_COL_NAME IN ('FCOMMENT'))
ALTER TABLE T_FCS_PAYACCESS_SET ADD (FCOMMENT NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FCS_CHECKCTRL' AND KSQL_COL_NAME IN ('FCOMMENT'))
ALTER TABLE T_FCS_CHECKCTRL ADD (FCOMMENT NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FCS_REPEATCTRL_WL' AND KSQL_COL_NAME IN ('FCOMMENT'))
ALTER TABLE T_FCS_REPEATCTRL_WL ADD (FCOMMENT NVARCHAR(255) DEFAULT ' ' NOT NULL );

/**End D:\PDM\PDM_UPGRADE\pdm1\FCS_table.sql **/