[rdld].[GetShippingDetails]
CREATE PROCEDURE [rdld].[GetShippingDetails]
@OrdPriKey INT,
@outXml varchar(max) output
AS
BEGIN
SET NOCOUNT ON;
set @outXml =
(
SELECT [Description],
[Length],
[Width],
[Height],
[SequenceNumber]
FROM SCShippingDetails
Where SCShippingDetails.OrdPriKey = @OrdPriKey
order by SCShippingDetails.OrdPriKey
FOR XML RAW
);
RETURN 0;
END;
GO
GRANT EXECUTE ON [rdld].[GetShippingDetails] TO [MssExec]
GO