Class TCTE
- Namespace
- gudusoft.gsqlparser.nodes
- Assembly
- gudusoft.gsqlparser.dll
A common table expression permits defining a result table with a table-name that can be specified as a table name in any FROM clause of the fullselect that follows.
Multiple common table expressions can be specified following the single WITH keyword.
Each common table expression specified can also be referenced by name in the FROM clause of subsequent common table expressions.
Syntax:
table-name [column-name [,...n]] AS (fullselect)
public class TCTE : TParseTreeNode, Visitable
- Inheritance
-
TCTE
- Implements
- Inherited Members
Properties
ColumnList
public virtual TObjectNameList ColumnList { get; set; }
Property Value
DeleteStmt
public virtual TDeleteSqlStatement DeleteStmt { get; set; }
Property Value
InsertStmt
public virtual TInsertSqlStatement InsertStmt { get; set; }
Property Value
PreparableStmt
public virtual TCustomSqlStatement PreparableStmt { get; set; }
Property Value
Subquery
fullselect of this common table expression. @return
public virtual TSelectSqlStatement Subquery { get; set; }
Property Value
TableName
public virtual TObjectName TableName { get; set; }
Property Value
- TObjectName
table name of this common table expression.
UpdateStmt
public virtual TUpdateSqlStatement UpdateStmt { get; set; }
Property Value
Methods
accept(TParseTreeVisitor)
public override void accept(TParseTreeVisitor v)
Parameters
acceptChildren(TParseTreeVisitor)
public override void acceptChildren(TParseTreeVisitor v)
Parameters
doParse(TCustomSqlStatement, ESqlClause)
analyze this node
public override void doParse(TCustomSqlStatement psql, ESqlClause plocation)
Parameters
psqlTCustomSqlStatementplocationESqlClause
init(object, object)
public override void init(object arg1, object arg2)
Parameters
searchColumnInResultSet(TCustomSqlStatement, TTable, TObjectName, bool)
public virtual bool searchColumnInResultSet(TCustomSqlStatement pSql, TTable pTable, TObjectName pColumn, bool pMustIn)
Parameters
pSqlTCustomSqlStatementpTableTTablepColumnTObjectNamepMustInbool
Returns
setColumnList(TObjectNameList)
public void setColumnList(TObjectNameList cl)