/**Begin D:\PDM_UPGRADE\PDM1\HAOS_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HAOS_CUSEMPPOSORGREL' AND KSQL_COL_NAME ='FDEPEMPID') 
 ALTER TABLE T_HAOS_CUSEMPPOSORGREL ADD (FDEPEMPID BIGINT DEFAULT 0 NOT NULL );

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