Table of Contents

Class TDropTableSqlStatement

Namespace
gudusoft.gsqlparser.stmt
Assembly
gudusoft.gsqlparser.dll

move a table or object table to the recycle bin or to remove the table and all its data from the database entirely.

public class TDropTableSqlStatement : TCustomSqlStatement, Visitable
Inheritance
TDropTableSqlStatement
Implements
Inherited Members

Constructors

TDropTableSqlStatement(EDbVendor)

public TDropTableSqlStatement(EDbVendor dbvendor)

Parameters

dbvendor EDbVendor

Properties

Cascade

public virtual bool Cascade { get; set; }

Property Value

bool

IfExists

public virtual bool IfExists { get; set; }

Property Value

bool

Restrict

public virtual bool Restrict { get; set; }

Property Value

bool

TableName

public virtual TObjectName TableName { get; set; }

Property Value

TObjectName

the name of the table to be dropped. check TableNameList if there are list of tables to be drop.

TableNameList

public virtual TObjectNameList TableNameList { get; set; }

Property Value

TObjectNameList

list of tables to be drop, used in sql server.

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