MeanJoeGreen13
IS-IT--Management
- Jan 6, 2008
- 15
I have the following that does not seem to work well. It leaves spaces where there is a null value, any idea on what the problem may be?
Set full_name = rtrim(ISNULL(prefx,''))+'' +rtrim(ISNULL(first_name,''))+' ' +rtrim(ISNULL(preferred,''))+' ' +rtrim(ISNULL(middle_name,''))+' ' +
rtrim(ISNULL(last_name,''))+' ' +rtrim(ISNULL(sfx_name,''))
Set full_name = rtrim(ISNULL(prefx,''))+'' +rtrim(ISNULL(first_name,''))+' ' +rtrim(ISNULL(preferred,''))+' ' +rtrim(ISNULL(middle_name,''))+' ' +
rtrim(ISNULL(last_name,''))+' ' +rtrim(ISNULL(sfx_name,''))