MergeStatement MergeStatement MergeStatement Class


Represents the MERGE statement.

public ref class MergeStatement : Microsoft::SqlServer::TransactSql::ScriptDom::DataModificationStatement
public class MergeStatement : Microsoft.SqlServer.TransactSql.ScriptDom.DataModificationStatement
Public Class MergeStatement
Inherits DataModificationStatement


MergeStatement() MergeStatement() MergeStatement()

Initializes a new instance of the MergeStatement class.


FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
MergeSpecification MergeSpecification MergeSpecification

Gets or sets the properties for the merge statement.

OptimizerHints OptimizerHints OptimizerHints

Gets or sets the optional optimizer hints.

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

Indicates the entry point for a given visitor.

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

Calls Accept on the children with the given visitor.


Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to