Hi
Based on the sql statement below how do I get the address fields to show N/A when the ShowAddress field is 0?
Thanks.
Based on the sql statement below how do I get the address fields to show N/A when the ShowAddress field is 0?
Code:
ALTER PROCEDURE dbo.CES_MEMSelectMemberIDAddress
(
@MemberID as varchar(10)
)
AS
/* SET NOCOUNT ON */
SELECT Address1, Address2, Address3, Address4, Postcode, Telephone, OfficeTelephone, Email, Fax, OfficeFax, Website, ShowAddress, Mobile
FROM dbo.Members
WHERE (UserID = @MemberID)
RETURN
Thanks.