Class TAlterTableStatement
- Namespace
- gudusoft.gsqlparser.stmt
- Assembly
- gudusoft.gsqlparser.dll
This class represents alter table statement.
table altered: TableName
alter options: AlterTableOptionList
Dependency check, in order to alter table,this table must be created at first and following objects must be created already if necessary:
- table/view in column reference constraint
-
function/procedure used in default check constraint</li> </ul>
public class TAlterTableStatement : TCustomSqlStatement, Visitable
- Inheritance
-
TAlterTableStatement
- Implements
- Inherited Members
Constructors
TAlterTableStatement(EDbVendor)
public TAlterTableStatement(EDbVendor dbvendor)
Parameters
dbvendorEDbVendor
Properties
AlterTableOptionList
public virtual TAlterTableOptionList AlterTableOptionList { get; set; }
Property Value
MySQLTableOptionList
public virtual List<TMySQLCreateTableOption> MySQLTableOptionList { get; set; }
Property Value
- List<TMySQLCreateTableOption>
mysql table options
TableElementList
public virtual TTableElementList TableElementList { get; set; }
Property Value
- See Also
TableName
public virtual TObjectName TableName { get; set; }
Property Value
- TObjectName
the name of the table to be altered.
Methods
accept(TParseTreeVisitor)
public override void accept(TParseTreeVisitor v)
Parameters
acceptChildren(TParseTreeVisitor)
public override void acceptChildren(TParseTreeVisitor v)
Parameters
doParseStatement(TCustomSqlStatement)
analyze SQL
public override int doParseStatement(TCustomSqlStatement psql)
Parameters
psqlTCustomSqlStatement