SelectStatement SelectStatement SelectStatement Class


Represents a SELECT statement.

public ref class SelectStatement : Microsoft::SqlServer::TransactSql::ScriptDom::StatementWithCtesAndXmlNamespaces
public class SelectStatement : Microsoft.SqlServer.TransactSql.ScriptDom.StatementWithCtesAndXmlNamespaces
Public Class SelectStatement
Inherits StatementWithCtesAndXmlNamespaces


SelectStatement() SelectStatement() SelectStatement()

Initializes a new instance of the SelectStatement class.


ComputeClauses ComputeClauses ComputeClauses

Gets or sets the compute by clauses. May have zero elements.

FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
Into Into Into

Gets or sets the into table name.

LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
OptimizerHints OptimizerHints OptimizerHints

Gets or sets the optional optimizer hints.

(Inherited from StatementWithCtesAndXmlNamespaces)
QueryExpression QueryExpression QueryExpression

Gets or sets the main body of the select statement.

ScriptTokenStream ScriptTokenStream ScriptTokenStream

Gets or sets a list of token streams.

(Inherited from TSqlFragment)
StartColumn StartColumn StartColumn

Gets the starting column.

(Inherited from TSqlFragment)
StartLine StartLine StartLine

Gets the starting line.

(Inherited from TSqlFragment)
StartOffset StartOffset StartOffset

Gets the fragment start offset value.

(Inherited from TSqlFragment)
WithCtesAndXmlNamespaces WithCtesAndXmlNamespaces WithCtesAndXmlNamespaces

Gets or sets the With common table expression and xml namespaces clause. Optional, may be null.

(Inherited from StatementWithCtesAndXmlNamespaces)


Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor)

Accepts visitor.

AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor)

Accepts visitor for Children.


Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to