AbstractTableManagerAlterTableColumn Method |
Alter table column with default value.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax public virtual void AlterTableColumn(
string tableName,
string columnName,
string newColumnName,
string newColumnType,
bool newColumnAllowNull,
string newColumnDefaultValue
)
Parameters
- tableName
- Type: SystemString
Table name - columnName
- Type: SystemString
Column name - newColumnName
- Type: SystemString
New column name, null if no new column is created - newColumnType
- Type: SystemString
New column type, null if no new column is created - newColumnAllowNull
- Type: SystemBoolean
Allow NULL values in new column or not - newColumnDefaultValue
- Type: SystemString
Column default value in system (en) culture
Implements
ITableManagerAlterTableColumn(String, String, String, String, Boolean, String)Exceptions See Also