TSqlParser.ParseSubQueryExpressionWithOptionalCTE TSqlParser.ParseSubQueryExpressionWithOptionalCTE TSqlParser.ParseSubQueryExpressionWithOptionalCTE Method

Definition

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.

Overloads

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

Parses an input string to get a subquery expression with optional common table expression and xml namespaces with the specified input reader.

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

Parses an input string to get a subquery expression with optional common table expression and xml namespaces with the specified input reader.

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

Parses an input string to get a subquery expression with optional common table expression and xml namespaces with the specified input reader.

public:
 Microsoft::SqlServer::TransactSql::ScriptDom::SelectStatement ^ ParseSubQueryExpressionWithOptionalCTE(System::IO::TextReader ^ input, [Runtime::InteropServices::Out] System::Collections::Generic::IList<Microsoft::SqlServer::TransactSql::ScriptDom::ParseError ^> ^ % errors);
public Microsoft.SqlServer.TransactSql.ScriptDom.SelectStatement ParseSubQueryExpressionWithOptionalCTE (System.IO.TextReader input, out System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.ParseError> errors);
Public Function ParseSubQueryExpressionWithOptionalCTE (input As TextReader, ByRef errors As IList(Of ParseError)) As SelectStatement
Parameters
input
TextReader TextReader TextReader

The script that will be parsed.

errors
IList<ParseError>

When this method returns, contains the list of error that occurred during parsing. This parameter is passed uninitialized.

Returns

The parsed subquery or null if any errors occurred.

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

Parses an input string to get a subquery expression with optional common table expression and xml namespaces with the specified input reader.

public:
 abstract Microsoft::SqlServer::TransactSql::ScriptDom::SelectStatement ^ ParseSubQueryExpressionWithOptionalCTE(System::IO::TextReader ^ input, [Runtime::InteropServices::Out] System::Collections::Generic::IList<Microsoft::SqlServer::TransactSql::ScriptDom::ParseError ^> ^ % errors, int startOffset, int startLine, int startColumn);
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);
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 TextReader TextReader

The script that will be parsed.

errors
IList<ParseError>

When this method returns, contains the list of error that occurred during parsing. This parameter is passed uninitialized.

startOffset
Int32 Int32 Int32

The offset where the parse starts. This parameter is passed uninitialized.

startLine
Int32 Int32 Int32

The line number where the parse starts. This parameter is passed uninitialized.

startColumn
Int32 Int32 Int32

The column number in the line where the parse starts. This parameter is passed uninitialized.

Returns

The parsed subquery or null if any errors occurred.

Applies to