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.
Author |
Topic |
DURGESH
Posting Yak Master
105 Posts |
Posted - 2008-10-03 : 04:11:44
|
hi all,i want to make '' as nullbcoz when my procedure is called from a application the parameters that does not have values will be passed as '' i want to convert it to null.Is there is any function that make empty as nullthanks in advanceregards Durgesh J |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-10-03 : 04:24:03
|
yup. use NULLIF(@Param,'') |
|
|
DURGESH
Posting Yak Master
105 Posts |
Posted - 2008-10-03 : 05:04:30
|
Thanks visakh16 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-10-03 : 05:23:57
|
welcome |
|
|
|
|
|