共用方式為


SqlDataTypeOption 列舉型別

指定 SQL 資料型別選項。

命名空間:  Microsoft.Data.Schema.ScriptDom.Sql
組件:  Microsoft.Data.Schema.ScriptDom.Sql (在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)

語法

'宣告
<SerializableAttribute> _
Public Enumeration SqlDataTypeOption
[SerializableAttribute]
public enum SqlDataTypeOption
[SerializableAttribute]
public enum class SqlDataTypeOption
[<SerializableAttribute>]
type SqlDataTypeOption
public enum SqlDataTypeOption

成員

成員名稱 說明
None 型別為 None。
BigInt 型別為 BigInt。
Int 型別為 Int。
SmallInt 型別為 SmallInt。
TinyInt 型別為 TinyInt。
Bit 型別為 Bit。
Decimal 型別為 Decimal。
Numeric 型別為 Numeric。
Money 型別為 Money。
SmallMoney 型別為 SmallMoney。
Float 型別為 Float。
Real 型別為 Real。
DateTime 類型為 DateTime。
SmallDateTime 型別為 SmallDateTime。
Char 類型為 Char。
VarChar 型別為 VarChar。
Text 型別為 Text。
NChar 型別為 NChar。
NVarChar 型別為 NVarChar。
NText 型別為 NText。
Binary 型別為 Binary。
VarBinary 型別為 VarBinary。
Image 型別為 Image。
Cursor 型別為 Cursor。
Sql_Variant 型別為 Sql_Variant。
Table 型別為 Table。
Timestamp 型別為 Timestamp。
UniqueIdentifier 型別為 UniqueIdentifier。
Date 類型為 Date。
Time 型別為 Time。
DateTime2 類型為 DateTime2。
DateTimeOffset 型別為 DateTimeOffset。

請參閱

參考

Microsoft.Data.Schema.ScriptDom.Sql 命名空間