SetVariableStatement SetVariableStatement SetVariableStatement Class

Definition

Represents the set @local_variable statement.

public ref class SetVariableStatement : Microsoft::SqlServer::TransactSql::ScriptDom::TSqlStatement
public class SetVariableStatement : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Public Class SetVariableStatement
Inherits TSqlStatement
Inheritance
SetVariableStatementSetVariableStatementSetVariableStatement

Constructors

SetVariableStatement() SetVariableStatement() SetVariableStatement()

Initializes a new instance of the SetVariableStatement class.

Properties

AssignmentKind AssignmentKind AssignmentKind

Gets or sets the assignment operator used.

CursorDefinition CursorDefinition CursorDefinition

Gets or sets the cursor - if not null, then Expression has to be null.

Expression Expression Expression

Gets or sets the expression that the variable is going to be set. Can be null in case of cursor.

FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
FunctionCallExists FunctionCallExists FunctionCallExists

Gets or sets a value that indicates whether the column identifiers end with a function call.

Identifier Identifier Identifier

Gets or sets the identifier that can represent the property, field or method. Optional, may be null.

LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
Parameters Parameters Parameters

Gets or sets the parameters to the function.

ScriptTokenStream ScriptTokenStream ScriptTokenStream

Gets or sets a list of token streams.

(Inherited from TSqlFragment)
SeparatorType SeparatorType SeparatorType

Gets or sets the separator.

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)
Variable Variable Variable

Gets or sets the variable that is going to be set.

Methods

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

Accepts visitor.

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

Accepts visitor for Children.

Fields

Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to