/**Begin C:\PDM_UPGRADE\PDM1\PBD_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PBD_ESAGGS' AND KSQL_COL_NAME IN ('FFILTERS')) 
 ALTER TABLE T_PBD_ESAGGS ADD (FFILTERS NVARCHAR(2000) DEFAULT ' ' NOT NULL );
 
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PBD_ESAGGS' AND KSQL_COL_NAME IN ('FPARAMS')) 
 ALTER TABLE T_PBD_ESAGGS ADD (FPARAMS NVARCHAR(2000) DEFAULT ' ' NOT NULL );

/**End C:\PDM_UPGRADE\PDM1\PBD_table.sql **/
