TSqlParser TSqlParser TSqlParser Class

Definition

Represents the Transact-SQL parser.

public ref class TSqlParser abstract
public abstract class TSqlParser
Public MustInherit Class TSqlParser
Inheritance
TSqlParserTSqlParserTSqlParser
Derived

Properties

QuotedIdentifier QuotedIdentifier QuotedIdentifier

Gets a value that indicates whether the quoted identifier is on.

Methods

Create(SqlVersion, Boolean) Create(SqlVersion, Boolean) Create(SqlVersion, Boolean)

Creates a Transact-SQL parser for the specified version.

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

Returns a list of parser tokens and a list of errors by using the provided text reader.

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

Returns a list of parser tokens and a list of errors by using the provided text reader.

Parse(IList<TSqlParserToken>, IList<ParseError>) Parse(IList<TSqlParserToken>, IList<ParseError>) Parse(IList<TSqlParserToken>, IList<ParseError>)

Returns a script fragment and a list of errors by using the provided tokens.

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

Returns a script fragment and a list of errors by using the provided text reader.

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

Returns a script fragment and a list of errors by using the provided values.

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

Returns a Boolean expression and a list of errors by using the provided text reader.

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

Returns a Boolean expression and a list of errors by using the provided values.

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

Returns a child object name and a list of errors by using the provided text reader.

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

Returns a child object name and a list of errors by using the provided values.

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

Returns a constant or identifier and a list of errors by using the provided text reader.

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

Returns a constant or identifier and a list of errors by using the provided values.

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

Returns a constant or identifier with default values and a list of errors.

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

Returns a constant or identifier with default values and a list of errors by using the provided text reader.

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

Returns an expression and a list of errors by using the provided text reader.

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

Returns an expression and a list of errors by using the provided values.

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

Returns a scalar data type and a list of errors by using the provided text reader.

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

Returns a scalar data type and a list of errors by using the provided values.

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

Returns a schema object name and a list of errors by using the provided text reader.

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

Returns a schema object name and a list of errors by using the provided values.

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

Returns a statement list and a list of errors by using the provided text reader.

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

Returns a statement list and a list of errors by using the provided values.

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.

TryParseSqlModuleObjectName(TextReader, SchemaObjectName) TryParseSqlModuleObjectName(TextReader, SchemaObjectName) TryParseSqlModuleObjectName(TextReader, SchemaObjectName)

Indicates whether the input script contains a SQL module object name.

TryParseTriggerModule(TextReader, SchemaObjectName, SchemaObjectName) TryParseTriggerModule(TextReader, SchemaObjectName, SchemaObjectName) TryParseTriggerModule(TextReader, SchemaObjectName, SchemaObjectName)

Indicates whether the input script contains a trigger module.

ValidateIdentifier(String) ValidateIdentifier(String) ValidateIdentifier(String)

Returns whether a name is a valid SQL identifier.

Applies to