
CREATE FUNCTION [dbo].[GetUserDisplay](@userId INT)
RETURNS VARCHAR(50)
AS 
BEGIN
   RETURN
	(SELECT	userDisplay
   FROM		[Framework_EVOL-1].dbo.pal_User
   WHERE	recId = @userId)
END
GO