createprocedure[dbo].[MssWebGetSakariAccountId] @inSakariAccountPriKeyint as begin setnocounton selectaccountId fromSakariAccount whereSakariAccount.SakariAccountID=@inSakariAccountPriKey; end GO GRANTEXECUTEON[dbo].[MssWebGetSakariAccountId]TO[MssExec] GO