/****** Object: StoredProcedure [rdld].[[GetTradeShows]] ******/ -- ============================================= -- Author: Jeff Spindler -- Date: 2/8/22 -- Description: Gets the Trade Show xml for inclusion in uploaded order -- ============================================= CREATEPROCEDURE[rdld].[GetTradeShows] @OrdPriKeyINT, @outXmlvarchar(max)output AS BEGIN setnocounton set@outXml= ( select TradeShow.ShowCode ,TradeShow.TradeShowName ,TradeShow.BoothNumber ,TradeShow.OriginDestinationFlag fromTradeShow whereTradeShow.OrdersFID=@OrdPriKey forxmlraw ); END; GO GRANTEXECUTEON[rdld].[GetTradeShows]TO[MssExec] GO