/**Begin D:\software\PDM_UPGRADE\PDM1\FPM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FPM_TEMPLATE_DIMSET' AND KSQL_COL_NAME IN ('FDEFAULTDISPLAYMEMBER')) 
 ALTER TABLE T_FPM_TEMPLATE_DIMSET ADD (FDEFAULTDISPLAYMEMBER BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FPM_TEMPLATEBAK_DIMSET' AND KSQL_COL_NAME IN ('FDEFAULTDISPLAYMEMBER')) 
 ALTER TABLE T_FPM_TEMPLATEBAK_DIMSET ADD (FDEFAULTDISPLAYMEMBER BIGINT DEFAULT 0 NOT NULL );

/**End D:\software\PDM_UPGRADE\PDM1\FPM_table.sql **/
