UFN_PARTIALINFORMATIONSEARCH_REALESTATERECORDTRANSLATIONFUNCTION
Return
Return Type |
---|
nvarchar(50) |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_PARTIALINFORMATIONSEARCH_REALESTATERECORDTRANSLATIONFUNCTION(@ID uniqueidentifier) returns nvarchar(50)
as
begin
if @ID is null
return '';
return coalesce((select dbo.UFN_PARTIALINFORMATIONSEARCH_BUILDADDRESS(PROPADDRESS, '', PROPCITY, PROPSTATE, PROPZIP) from dbo.WPREALESTATE where ID=@ID), '');
end