如何从表中显示NULL列 [英] How to Display NULL Columns from Table
本文介绍了如何从表中显示NULL列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何显示特定表中的所有空列
我的意思是仅包含空值的列.
How to display all null columns from a particular table
I Means the Columns which contain Only null values.
推荐答案
这是您要查找的内容:
Is this what you are looking for:
select name from sys.syscolumns where id in (select ID from sys.sysobjects where name = 'Table_Name') and isnullable=1
这篇关于如何从表中显示NULL列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文