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
 New to SQL Server Programming
 ISNULL information

Author  Topic 

v.a.panchamukhi
Starting Member

1 Post

Posted - 2010-02-11 : 05:39:52
isnull(@abc, 0.0) function checks whether @abc is null or what and then it will replace its value with 0.0 if @abc is null. This is what i have understood about isnull() function.

If i am correct then i would like to know what the following statement is intended to do

ISNULL(@abc, '''')

Please some one help me in understanding this. Thanks in advance

V.A.Panchamukhi

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-02-11 : 05:43:35
it will replace null value with single quote '

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2010-02-11 : 05:48:18
See how single quotes work
http://beyondrelational.com/blogs/madhivanan/archive/2008/02/19/understanding-single-quotes.aspx

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -