ITableManagerAlterTableColumn Method |
Rename, retype or allow/not allow NULL values in column
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax void AlterTableColumn(
string tableName,
string columnName,
string newColumnName,
string newColumnType,
bool newColumnAllowNull,
string newColumnDefaultValue
)
Parameters
- tableName
- Type: SystemString
Table name - columnName
- Type: SystemString
Name of an old column - newColumnName
- Type: SystemString
Name of a new column - newColumnType
- Type: SystemString
Type of a new column - newColumnAllowNull
- Type: SystemBoolean
Allow NULL values in new column or not - newColumnDefaultValue
- Type: SystemString
Default value of a new column in system (en) culture
See Also