📜  获取表列名 sql ssms - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:01.684000             🧑  作者: Mango

代码示例1
SELECT COLUMN_NAME
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'Your Table Name'
ORDER BY COLUMN_NAME

-- IS_NULLABLE returns yes or no depending on null or not null