Feb 4, 2003 #1 Azita79 Programmer Jan 30, 2003 41 US Hi All, In my tblInstaller I have 3 fields that I wana return as one string. But when any of 3 is NULL the whole string retruns NULL SELECT (InstallerName + ' , ' + Dba + ' , ' + BusName) as 'Name' From tblInstaller Any help would be greatly appreciated Azita
Hi All, In my tblInstaller I have 3 fields that I wana return as one string. But when any of 3 is NULL the whole string retruns NULL SELECT (InstallerName + ' , ' + Dba + ' , ' + BusName) as 'Name' From tblInstaller Any help would be greatly appreciated Azita
Feb 4, 2003 #2 sunila7 Technical User Apr 11, 2001 1,087 US hi, try this SELECT (Isnull(InstallerName,'') + ' , ' + isnull(Dba,'') + ' , ' + isnull(BusName,'')) as 'Name' From tblInstaller Sunil Upvote 0 Downvote
hi, try this SELECT (Isnull(InstallerName,'') + ' , ' + isnull(Dba,'') + ' , ' + isnull(BusName,'')) as 'Name' From tblInstaller Sunil
Feb 4, 2003 Thread starter #3 Azita79 Programmer Jan 30, 2003 41 US Thank you so much Sunil It worked great ! Upvote 0 Downvote