mssql query field type Posted on 2017-09-222017-09-25 如何知道欄位的型態: Using SQL Server: SELECT DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'yourTableName' AND COLUMN_NAME = 'yourColumnName' Mysql 可以使用 show create tableyourTableName; 來取得