I have table like Table1 and columns like Col1,col2,col3,col4,col5...upto col15
my pocedure valirable is @NP1
now i want to check if col1is null or empty then check for col2... like upto col15
like select *from table where Col1= @NP1
now i want to check if col1is null or empty then check for col2... like upto col15
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
rama krishna10 reputationPosted Oct 6, 2016, 1:29 AM EDT
COALESCEselects the data from the first column that has a nonnull value.Bikesh SrivastavaRank #108 · 20.3K reputationPosted Oct 6, 2016, 2:32 AM EDT
rama krishna10 reputationPosted Oct 6, 2016, 7:57 AM EDT
ketan borsdiyaRank #2,258 · 624 reputationPosted Oct 6, 2016, 12:12 AM EDT