call sysproc.admin_cmd ( 'reorg table SCM_BASECATEGORY' )
alter table SCM_BASECATEGORY alter column BASECATEGORY_ID restart with 317;
select * from ( select id,name ,row_number() over(partition by id order by name desc) as idd from hr.aaaa ) z where idd <=3