Compartilhar via


CreateOrAlterViewStatement Class

Definition

The CREATE OR ALTER VIEW statement.

[System.Serializable]
public class CreateOrAlterViewStatement : Microsoft.SqlServer.TransactSql.ScriptDom.ViewStatementBody
[<System.Serializable>]
type CreateOrAlterViewStatement = class
    inherit ViewStatementBody
Public Class CreateOrAlterViewStatement
Inherits ViewStatementBody
Inheritance
CreateOrAlterViewStatement
Attributes

Constructors

CreateOrAlterViewStatement()

Fields

Uninitialized

Constant to indicate and uninitialized token.

(Inherited from TSqlFragment)

Properties

Columns

The columns for the view.

(Inherited from ViewStatementBody)
FirstTokenIndex

Gets or sets the first index of the token.

(Inherited from TSqlFragment)
FragmentLength

Defines the number of characters the fragment takes up in the script it was parsed.

(Inherited from TSqlFragment)
IsMaterialized

Whether the view is SQL DW materialized or not.

(Inherited from ViewStatementBody)
LastTokenIndex

Gets or sets the last index of the token.

(Inherited from TSqlFragment)
SchemaObjectName

The name of the view.

(Inherited from ViewStatementBody)
ScriptTokenStream

Gets or sets the script token stream.

(Inherited from TSqlFragment)
SelectStatement

The query expression that represents the select, with optiona common table expression and xml namespaces clauses.

(Inherited from ViewStatementBody)
StartColumn

Gets the start column.

(Inherited from TSqlFragment)
StartLine

Gets the start line.

(Inherited from TSqlFragment)
StartOffset

Defines the character offset of fragments starting location in the script it was parsed.

(Inherited from TSqlFragment)
ViewOptions

Options in WITH clause

(Inherited from ViewStatementBody)
WithCheckOption

True if With Check Option is defined.

(Inherited from ViewStatementBody)

Methods

Accept(TSqlFragmentVisitor)

Accepts visitor

AcceptChildren(TSqlFragmentVisitor)

Accepts visitor for Children

Applies to