SelectStatementSnippet SelectStatementSnippet SelectStatementSnippet Class


Represents the select statement snippet.

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


SelectStatementSnippet() SelectStatementSnippet() SelectStatementSnippet()

Initializes a new instance of the SelectStatementSnippet class.


ComputeClauses ComputeClauses ComputeClauses

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

(Inherited from SelectStatement)
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.

(Inherited from SelectStatement)
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.

(Inherited from SelectStatement)
Script Script Script

Gets the script of the 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 entry point for a given visitor.

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

Calls Accepts on the children with the given visitor.


Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to