createprocedure[dbo].[MssWebGetOrderOperationalNote] @inOrderIdint as begin setnocounton selectOperationalNote=OfficeIndustrialOrder.OperationalNote fromOfficeIndustrialOrder whereOfficeIndustrialOrder.OrderFID=@inOrderId end GO GRANTEXECUTEON[dbo].[MssWebGetOrderOperationalNote]TO[MssExec] GO