/**Begin D:\Users\rd_william_li\Documents\lipin\PDM\PDM_UPGRADE\PDM_UPGRADE\pdm_new\BOS_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PERM_CUSTPERMSERV' AND KSQL_COL_NAME IN ('FSCENARIOID')) 
 ALTER TABLE T_PERM_CUSTPERMSERV ADD (FSCENARIOID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PERM_CUSTPERMSERV' AND KSQL_COL_NAME IN ('FMETHODNAME')) 
 ALTER TABLE T_PERM_CUSTPERMSERV ADD (FMETHODNAME VARCHAR(255) DEFAULT ' ' NOT NULL );

/**End D:\Users\rd_william_li\Documents\lipin\PDM\PDM_UPGRADE\PDM_UPGRADE\pdm_new\BOS_table.sql **/
