/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\XML\branch_1.5.94\SYS_Constraint.sql **/

EXEC P_ALTERPK 'PK_T_BAS_FILE_RECORD', 'T_BAS_FILE_RECORD', 'FID', '1';

IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'T_BAS_FILE_RECORD_INDEX') CREATE INDEX T_BAS_FILE_RECORD_INDEX ON T_BAS_FILE_RECORD ( FURL );
/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\XML\branch_1.5.94\SYS_Constraint.sql **/