/**Begin D:\PDM_UPGRADE\PDM1\CAS_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_CAS_SALLDETAILPARAM', 'T_CAS_SALLDETAILPARAM', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_CAS_SALLPARAM_FID') CREATE UNIQUE  CLUSTERED INDEX IDX_CAS_SALLPARAM_FID ON T_CAS_SALLDETAILPARAM ( FBATCHNUMBER );



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