共用方式為


TSqlParser.ParseSubQueryExpressionWithOptionalCTE Method

Definition

Overloads

ParseSubQueryExpressionWithOptionalCTE(TextReader, IList<ParseError>)

Parses an input string to get a subquery expression with optional common table expression and xml namespaces. This will return null, if there were any errors.

ParseSubQueryExpressionWithOptionalCTE(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a subquery expression with optional common table expression and xml namespaces. This will return null, if there were any errors.

ParseSubQueryExpressionWithOptionalCTE(TextReader, IList<ParseError>)

Parses an input string to get a subquery expression with optional common table expression and xml namespaces. This will return null, if there were any errors.

public Microsoft.SqlServer.TransactSql.ScriptDom.SelectStatement ParseSubQueryExpressionWithOptionalCTE (System.IO.TextReader input, out System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.ParseError> errors);
member this.ParseSubQueryExpressionWithOptionalCTE : System.IO.TextReader * IList -> Microsoft.SqlServer.TransactSql.ScriptDom.SelectStatement
Public Function ParseSubQueryExpressionWithOptionalCTE (input As TextReader, ByRef errors As IList(Of ParseError)) As SelectStatement

Parameters

input
TextReader

The input script.

errors
IList<ParseError>

The errors encountered, if any.

Returns

The select statement, or null if errors were encountered.

Applies to

ParseSubQueryExpressionWithOptionalCTE(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a subquery expression with optional common table expression and xml namespaces. This will return null, if there were any errors.

public abstract Microsoft.SqlServer.TransactSql.ScriptDom.SelectStatement ParseSubQueryExpressionWithOptionalCTE (System.IO.TextReader input, out System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.ParseError> errors, int startOffset, int startLine, int startColumn);
abstract member ParseSubQueryExpressionWithOptionalCTE : System.IO.TextReader * IList * int * int * int -> Microsoft.SqlServer.TransactSql.ScriptDom.SelectStatement
Public MustOverride Function ParseSubQueryExpressionWithOptionalCTE (input As TextReader, ByRef errors As IList(Of ParseError), startOffset As Integer, startLine As Integer, startColumn As Integer) As SelectStatement

Parameters

input
TextReader
errors
IList<ParseError>
startOffset
Int32
startLine
Int32
startColumn
Int32

Returns

Applies to