SelectStatement Class

Represents a SQL SELECT statement.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class SelectStatement _
    Inherits StatementWithCommonTableExpressionsAndXmlNamespaces
'Usage
Dim instance As SelectStatement
[SerializableAttribute]
public class SelectStatement : StatementWithCommonTableExpressionsAndXmlNamespaces
[SerializableAttribute]
public ref class SelectStatement : public StatementWithCommonTableExpressionsAndXmlNamespaces
public class SelectStatement extends StatementWithCommonTableExpressionsAndXmlNamespaces

Remarks

This design is a work in progress, and presently only accepts select statements of the following nature: SELECT select_expression[, ...n] FROM table_source[, ...n]

where select_expression only supports the wildcard and basic expressions at the moment, and the only supported table_sources are basic identifiers + AS clause.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
    Microsoft.Data.Schema.ScriptDom.Sql.TSqlStatement
      Microsoft.Data.Schema.ScriptDom.Sql.StatementWithCommonTableExpressionsAndXmlNamespaces
        Microsoft.Data.Schema.ScriptDom.Sql.SelectStatement
          Microsoft.Data.Schema.ScriptDom.Sql.InvalidSelectStatement

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.

See Also

Reference

SelectStatement Members

Microsoft.Data.Schema.ScriptDom.Sql Namespace