/**Begin D:\PDM_UPGRADE\PDM1\HBSS_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HBSS_LAWENTITY' AND KSQL_COL_NAME ='FDESC') 
 ALTER TABLE T_HBSS_LAWENTITY ADD (FDESC VARCHAR(100) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HBSS_LAWENTITY' AND KSQL_COL_NAME ='FTYPE') 
 ALTER TABLE T_HBSS_LAWENTITY ADD (FTYPE VARCHAR(100) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HBSS_LAWENTITY' AND KSQL_COL_NAME ='FEFFECTDATE') 
 ALTER TABLE T_HBSS_LAWENTITY ADD (FEFFECTDATE DATETIME );

/**End D:\PDM_UPGRADE\PDM1\HBSS_table.sql **/
