/**Begin D:\文档\DBA\PDM_UPGRADE\pdm1\SYS_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SVC_SYSPARAM_GROUP' AND KSQL_COL_NAME ='FMASTERID')
 ALTER TABLE T_SVC_SYSPARAM_GROUP ADD (FMASTERID VARCHAR(36) DEFAULT ' ' NOT NULL );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SVC_CUSTOMPARAM' AND KSQL_COL_NAME ='FMASTERID')
 ALTER TABLE T_SVC_CUSTOMPARAM ADD (FMASTERID VARCHAR(36) DEFAULT ' ' NOT NULL );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SVC_CUSTOMPARAM_APP' AND KSQL_COL_NAME ='FMASTERID')
 ALTER TABLE T_SVC_CUSTOMPARAM_APP ADD (FMASTERID VARCHAR(36) DEFAULT ' ' NOT NULL );

/**End D:\文档\DBA\PDM_UPGRADE\pdm1\SYS_table.sql **/
