macleanb
Well-known Member
- Joined
- Dec 10, 2004
- Messages
- 715
Hi
I am trying to select two columns (Text) liek so:
Select TB_ID + '|' + TB_Ref from MyTable
I was expecting to get either:
"|ABC"
A123|"
or
"A123|ABC"
However I only seem to get the last version, all rows where either ID or REF are null fail to calculate the concatonated string - any advice or alternative strategies to achieve this?
Many Thanks
I am trying to select two columns (Text) liek so:
Select TB_ID + '|' + TB_Ref from MyTable
I was expecting to get either:
"|ABC"
A123|"
or
"A123|ABC"
However I only seem to get the last version, all rows where either ID or REF are null fail to calculate the concatonated string - any advice or alternative strategies to achieve this?
Many Thanks