--ABS-163585

--SORTBATCHDEFINITIONDETAIL TABLE
ALTER TABLE SORTBATCHDEFINITIONDETAIL
DROP CONSTRAINT CHK_SORTBATCHDEFDETAIL_SQN;

ALTER TABLE SORTBATCHDEFINITIONDETAIL
ADD CONSTRAINT CHK_SORTBATCHDEFDETAIL_SQN CHECK (SEQUENCENUMBER BETWEEN 1 AND 999999);
