Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents the DECLARE @variable statement, except table declarations.
Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class DeclareVariableStatement _
    Inherits TSqlStatement
'Usage
Dim instance As DeclareVariableStatement
[SerializableAttribute]
public class DeclareVariableStatement : TSqlStatement
[SerializableAttribute]
public ref class DeclareVariableStatement : public TSqlStatement
public class DeclareVariableStatement extends TSqlStatement
Inheritance Hierarchy
System.Object
  Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
    Microsoft.Data.Schema.ScriptDom.Sql.TSqlStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DeclareVariableStatement
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.