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
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 FormatName return

Author  Topic 

JeffS23
Posting Yak Master

212 Posts

Posted - 2008-02-26 : 13:27:59
I am currently pulling the following field in my query:

isnull(dbo.FormatName(refdr.Prefix, refdr.First, refdr.Middle, refdr.Last, refdr.Suffix),'')AS Ref_DoctorName

When the field is NULL, its returning a "," value instead of a NULL as I need. Any suggestions on a better format?

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-02-26 : 13:37:57
what format is you looking at?
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-02-26 : 13:39:31
Please post like this in
Transact-SQL-2005 forum.
Go to Top of Page

JeffS23
Posting Yak Master

212 Posts

Posted - 2008-02-26 : 13:41:59
my bad ... ill post in that forum.
Go to Top of Page
   

- Advertisement -