vijaygodishala69
Valued Member
Points: 69
More actions
March 18, 2015 at 1:03 am
#398202
Hi,
I have two columns. address 1 and address2. if address1 is null then show address2. if address1 and address2 both are not null then show only address1. how to do in SSIS Expression.
Please help.
Koen Verbeeck
SSC Guru
Points: 259105
March 18, 2015 at 1:55 am
#1784666
If you have SQL 2012 or up:
REPLACENULL(address1,address2)
If not:
(ISNULL(address1)) ? address2 : address1
Need an answer? No, you need a questionMy blog at https://sqlkover.com.MCSE Business Intelligence - Microsoft Data Platform MVP
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply