UFN_NAMINGOPPORTUNITY_BUILDNAME
Return
| Return Type |
|---|
| nvarchar(100) |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @ID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_NAMINGOPPORTUNITY_BUILDNAME(
@ID uniqueidentifier
)
returns nvarchar(100)
as
begin
if @ID is null
return '';
return coalesce((select NAME from dbo.NAMINGOPPORTUNITY where ID=@ID), '');
end