Table of Contents

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

dbvendor EDbVendor

Properties

AlterTableOptionList

public virtual TAlterTableOptionList AlterTableOptionList { get; set; }

Property Value

TAlterTableOptionList

MySQLTableOptionList

public virtual List<TMySQLCreateTableOption> MySQLTableOptionList { get; set; }

Property Value

List<TMySQLCreateTableOption>

mysql table options

TableElementList

public virtual TTableElementList TableElementList { get; set; }

Property Value

TTableElementList
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

v TParseTreeVisitor

acceptChildren(TParseTreeVisitor)

public override void acceptChildren(TParseTreeVisitor v)

Parameters

v TParseTreeVisitor

doParseStatement(TCustomSqlStatement)

analyze SQL

public override int doParseStatement(TCustomSqlStatement psql)

Parameters

psql TCustomSqlStatement

Returns

int