/**Begin D:\DBA\1.4\PDM_UPGRADE\PDM1\BCM_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_BCM_STRUCTOFEXTEND' AND KSQL_INDNAME = 'IDX_BCM_STRUCTOFEXT_NUM') CREATE INDEX IDX_BCM_STRUCTOFEXT_NUM ON T_BCM_STRUCTOFEXTEND ( FNUMBER ,FMODELID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_BCM_STRUCTOFEXTEND' AND KSQL_INDNAME = 'IDX_BCM_STRUCTOFEXT_PARENTID') CREATE INDEX IDX_BCM_STRUCTOFEXT_PARENTID ON T_BCM_STRUCTOFEXTEND ( FPARENTID ,FMODELID );


/**End D:\DBA\1.4\PDM_UPGRADE\PDM1\BCM_constraint.sql **/
