/**Begin D:\PDM_UPGRADE\PDM1\GL_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AI_EVENTCLASS' AND KSQL_COL_NAME IN ('FTEMPLATENO')) 
 ALTER TABLE T_AI_EVENTCLASS ADD (FTEMPLATENO VARCHAR(50) DEFAULT ' ' NOT NULL );

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