IF EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[order_255_2_download]') AND type = 'P')
DROP PROCEDURE [dbo].[order_255_2_download]
GO
CREATE  procedure order_255_2_download(
@cmpid int ,
@ordid bigint) 
as 
begin 
set nocount on
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
select * from order_255_2 with(nolock) where ord2_ordid=@ordid order by ord2_order , ord2_id 
set nocount off 
end