Microsoft
Software
Hardware
Network
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
How to specify an address on the From line in Sharepoint Designer email
ASPX security error
access 2007 - invalid procedure call
Administrator password reset via Terminal Services causing problems
Autonew in Excel
How to transpose a variable length row to two columns
Select Statement with Function
.NET CE C# program not updating with time zone change
Need to deploy/upgrade an Access application
How can I change the value of a combo box based on value of an unbound text box?