/**Begin D:\PDM_UPGRADE\PDM1\EB_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTPROJECT' AND KSQL_COL_NAME IN ('FUSERID')) 
 ALTER TABLE T_EB_ADJUSTPROJECT ADD (FUSERID BIGINT DEFAULT 0 NOT NULL );
 
 EXEC p_DropIdx 'IDX__EB_AdjustProject_MODEL', 'T_EB_ADJUSTPROJECT';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX__EB_ADJUSTPROJECT_MODEL') CREATE INDEX IDX__EB_ADJUSTPROJECT_MODEL ON T_EB_ADJUSTPROJECT ( FMODEL ,FUSERID );

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