UFN_SUGGESTEDMEMBERSHIPLEVEL_GETVALUE
Return
| Return Type |
|---|
| smallint |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @ID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_SUGGESTEDMEMBERSHIPLEVEL_GETVALUE(@ID uniqueidentifier)
returns smallint
with execute as caller
as begin
declare @SCORE smallint;
select
@SCORE = SCORE
from
dbo.SUGGESTEDMEMBERSHIPLEVEL
where
ID = @ID;
return @SCORE;
end