/**Begin D:\PDM_UPGRADE\PDM1\EB_table.sql **/

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_TEMPLATE' AND KSQL_COL_NAME ='FDIMMEMDEFAULTDISPLAYTYPE') 
 ALTER TABLE T_EB_TEMPLATE ADD (FDIMMEMDEFAULTDISPLAYTYPE INT DEFAULT 1 NOT NULL );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_VIEWMEMBER' AND KSQL_COL_NAME ='FSIMPLENAME') 
 ALTER TABLE T_EB_VIEWMEMBER ADD (FSIMPLENAME NVARCHAR(50) DEFAULT ' ' NOT NULL ); 
 
/**End D:\PDM_UPGRADE\PDM1\EB_table.sql **/