declare @p1 xml set @p1=convert(xml,N'113100pa desc100true') exec [dbo].[GetShapeStats_v2] @ShapeCriteriaXML=@p1