CREATEPROCEDURE[dbo].[MssWebGetOrderWorkTickets] @inOrderIdint AS BEGIN SETNOCOUNTON SELECTDISTINCTWorkTickets.WorkTicketNumberasWorkTicketNumber fromWorkTickets whereWorkTickets.OrdersPriKey=@inOrderId
END GO GRANTEXECUTEON[dbo].[MssWebGetOrderWorkTickets]TO[MssExec] GO