Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
How to find all attributes in a database which contain NULL? -- (not a count of all NULLs, just the attribute names are wanted)In other words, those which are not merely nullable, but have a NULL "value"So not merely:
SELECT name as [column_name] FROM sys.all_columnswhere is_nullable = 1