DatabaseColumn 類別
資料庫資料行資源。
變數只會由伺服器填入,而且會在傳送要求時予以忽略。
- 繼承
-
azure.mgmt.sql.models._models_py3.ProxyResourceDatabaseColumn
建構函式
DatabaseColumn(*, column_type: str | ColumnDataType | None = None, temporal_type: str | TableTemporalType | None = None, memory_optimized: bool | None = None, is_computed: bool | None = None, **kwargs)
參數
名稱 | Description |
---|---|
column_type
必要
|
資料行資料類型。 可能的值包括:「image」、「text」、「uniqueidentifier」、「date」、「time」、「datetime2」、「datetimeoffset」、「Tinyint」、「Smallint」、「int」、「Smalldatetime」、「real」、 「money」、「datetime」、「float」、「SQL_variant」、「Ntext」、「bit」、「decimal」、「numeric」、「smallmoney」、「smallmoney」、「Bigint」、「hierarchyid」、「geometry」、「geography」、「Varbinary」、「Varchar」、「binary」、「char」、「timestamp」、「Nvarchar」、「Nchar」、「xml」、「sysname」。 |
temporal_type
必要
|
資料表時態型別。 可能的值包括:「NonTemporalTable」、「HistoryTable」、「SystemVersionedTemporalTable」。 |
memory_optimized
必要
|
資料行是否屬於記憶體優化資料表。 |
is_computed
必要
|
是否計算資料行。 |
僅限關鍵字的參數
名稱 | Description |
---|---|
column_type
必要
|
|
temporal_type
必要
|
|
memory_optimized
必要
|
|
is_computed
必要
|
|
變數
名稱 | Description |
---|---|
id
|
資源識別碼。 |
name
|
資源名稱。 |
type
|
資源類型。 |