/ Published in: SQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
ALTER FUNCTION [dbo].[fGetBuyerStatus] (@StatusId INT) RETURNS VARCHAR(30) AS BEGIN DECLARE @RETURN VARCHAR(100) SELECT @RETURN=BuyerStatusName FROM LUAssetBuyerStatus WHERE BuyerStatusID = @StatusId RETURN @RETURN END