Question : Need to return  " "

if this
   SELECT AboutME FROM tbl_Profile
   WHERE  UserID = @sUserId
returns null then I would like to return " "
a space textbox.

ALTER PROCEDURE [dbo].[sprGetAboutMeName]
(
   @sUserId nvarchar(50)
   
)
AS
BEGIN

   -- Unique Columns to check whether already exists
   SELECT AboutME FROM tbl_Profile
   WHERE  UserID = @sUserId
RETURN
END

Answer : Need to return  " "

SELECT coalesce(AboutMe,'') FROM  tbl_Profile
   WHERE  UserID = @sUserId
Random Solutions  
 
programming4us programming4us