📜  如何在 sql server 中检查数据类型 - SQL 代码示例

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

代码示例1
SELECT DATA_TYPE 
FROM INFORMATION_SCHEMA.COLUMNS
WHERE 
     TABLE_NAME = 'yourTableName' AND 
     COLUMN_NAME = 'yourColumnName'