Print Page | Close Window

Replace Null values with mytext in SQL

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=14593
Printed Date: 29 March 2026 at 11:56pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Replace Null values with mytext in SQL
Posted By: farrukh
Subject: Replace Null values with mytext in SQL
Date Posted: 07 April 2005 at 3:28am

how can i replace null values with my own text in sql queries. i know the set null "mytext" sql plus command but i dont know how to do this in sql query during selection rows in table.. ne1 help me.. how to replace null values in a table by mytext in sql query



-------------
i have collected some nice avatars (37) and smileys (227) here you can download
http://www24.brinkster.com/webmastertool/download.html



Replies:
Posted By: Phat
Date Posted: 07 April 2005 at 4:46am
not sure what you mean but this will update every field in real name that has a null value

UPDATE tblAuthor SET tblAuthor.Real_name = "mytext"
WHERE (((tblAuthor.Real_name) Is Null));




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net