Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Working with null values

Author  Topic 

Venkat144
Starting Member

2 Posts

Posted - 2012-05-02 : 12:10:23

Hi,

I have a doubt in handling null values.

my table contains values as below

SELECT 1 as no ,'John' as Fitstname, 'Brown' as MiddleName, 'Male' as Gender,GETDATE() as DOB
UNION ALL
SELECT 2,'Sara', 'Smith', 'Female',null
UNION ALL
SELECT null,'Harry', 'Thomas', NULL,GETDATE()
UNION ALL
SELECT 3,'Jennifer', 'Smith', 'Female',null
UNION ALL
SELECT null,'Jada', 'Reynolds', NULL,GETDATE()


Now I want to replace null values with empty value(0 or '') without using ISNULL , COALESCE and ANSI_NULLS ..


Thanks in advance.



Thanks & Regards
Venkat

robvolk
Most Valuable Yak

15732 Posts

Posted - 2012-05-02 : 12:57:17
Please do not cross post:

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=174221
Go to Top of Page
   

- Advertisement -