UFN_DECEASEDSOURCECODE_GETID

Returns the ID for the given table entry description.

Return

Return Type
uniqueidentifier

Parameters

Parameter Parameter Type Mode Description
@Description nvarchar(100) IN The description used to look up the table entry ID.

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  4/27/2009 10:58:36 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.0.62.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_DECEASEDSOURCECODE_GETID(@Description nvarchar(100))
RETURNS uniqueidentifier WITH EXECUTE AS CALLER
AS
begin
    declare @r uniqueidentifier
    select @r=ID FROM dbo.DECEASEDSOURCECODE WHERE DESCRIPTION = @Description
    return @r
end