SQL to find NULL in any column

Published: 28 May 2024
on channel: Database by Doug
532
30

You've got a table with hundreds of columns. You'd like to find records that have a NULL in any of those columns.

I'll show how to use sys.columns to get the list of all the columns and create a SELECT statement that tests for NULLs in any of those columns.

Get the code here: https://douglaskline.blogspot.com/202...


Watch video SQL to find NULL in any column online without registration, duration hours minute second in high quality. This video was added by user Database by Doug 28 May 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 532 once and liked it 30 people.