UFN_TICKETREPRINTREASONCODE_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:  1/27/2010 6:54:02 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.5.465.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_TICKETREPRINTREASONCODE_GETID(@Description nvarchar(100))
RETURNS uniqueidentifier WITH EXECUTE AS CALLER
AS
begin
    declare @r uniqueidentifier
    select @r=ID FROM dbo.TICKETREPRINTREASONCODE WHERE DESCRIPTION = @Description
    return @r
end