TSql120Parser TSql120Parser TSql120Parser Class

Definition

The TSql Parser for 12.0.

[Serializable]
public class TSql120Parser : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlParser
type TSql120Parser = class
    inherit TSqlParser
Public Class TSql120Parser
Inherits TSqlParser
Inheritance
TSql120ParserTSql120ParserTSql120Parser
Attributes
SerializableAttribute

Constructors

TSql120Parser(Boolean) TSql120Parser(Boolean) TSql120Parser(Boolean)

Initializes a new instance of the TSql120Parser class.

Methods

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

Creates a TSqlParser for the specified version.

(Inherited from TSqlParser)
GetTokenStream(TextReader, IList<ParseError>) GetTokenStream(TextReader, IList<ParseError>) GetTokenStream(TextReader, IList<ParseError>)

Parses the input into a Token Stream.

(Inherited from TSqlParser)
GetTokenStream(TextReader, IList<ParseError>, Int32, Int32, Int32) GetTokenStream(TextReader, IList<ParseError>, Int32, Int32, Int32) GetTokenStream(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses the input into a Token Stream.

(Inherited from TSqlParser)
Parse(IList<TSqlParserToken>, IList<ParseError>) Parse(IList<TSqlParserToken>, IList<ParseError>) Parse(IList<TSqlParserToken>, IList<ParseError>)

The blocking parse method.

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

The blocking parse method.

(Inherited from TSqlParser)
Parse(TextReader, IList<ParseError>, Int32, Int32, Int32) Parse(TextReader, IList<ParseError>, Int32, Int32, Int32) Parse(TextReader, IList<ParseError>, Int32, Int32, Int32)

The blocking parse method.

(Inherited from TSqlParser)
ParseBooleanExpression(TextReader, IList<ParseError>) ParseBooleanExpression(TextReader, IList<ParseError>) ParseBooleanExpression(TextReader, IList<ParseError>)

Parses an input string to get a boolean expression. This will return null, if there were any errors.

(Inherited from TSqlParser)
ParseBooleanExpression(TextReader, IList<ParseError>, Int32, Int32, Int32) ParseBooleanExpression(TextReader, IList<ParseError>, Int32, Int32, Int32) ParseBooleanExpression(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a boolean expression. This will return null, if there were any errors.

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

Parses an input string to get a ChildObjectName. This will return null, if there were any errors.

(Inherited from TSqlParser)
ParseChildObjectName(TextReader, IList<ParseError>, Int32, Int32, Int32) ParseChildObjectName(TextReader, IList<ParseError>, Int32, Int32, Int32) ParseChildObjectName(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a ChildObjectName. This will return null, if there were any errors.

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

Parses an input string to get a constant or identifier. This will return null, if there were any errors.

(Inherited from TSqlParser)
ParseConstantOrIdentifier(TextReader, IList<ParseError>, Int32, Int32, Int32) ParseConstantOrIdentifier(TextReader, IList<ParseError>, Int32, Int32, Int32) ParseConstantOrIdentifier(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a constant or identifier. This will return null, if there were any errors.

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

Parses an input string to get a constant or identifier or default literal(literal with value "DEFAULT"). This will return null, if there were any errors.

(Inherited from TSqlParser)
ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>, Int32, Int32, Int32) ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>, Int32, Int32, Int32) ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a constant or identifier or default literal(literal with value "DEFAULT"). This will return null, if there were any errors.

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

Parses an input string to get a scalar expression. This will return null, if there were any errors.

(Inherited from TSqlParser)
ParseExpression(TextReader, IList<ParseError>, Int32, Int32, Int32) ParseExpression(TextReader, IList<ParseError>, Int32, Int32, Int32) ParseExpression(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get an expression. This will return null, if there were any errors.

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

Parses an input string to get a data type. This will return null, if there were any errors.

(Inherited from TSqlParser)
ParseScalarDataType(TextReader, IList<ParseError>, Int32, Int32, Int32) ParseScalarDataType(TextReader, IList<ParseError>, Int32, Int32, Int32) ParseScalarDataType(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a data type. This will return null, if there were any errors.

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

Parses an input string to get a SchemaObjectName. This will return null, if there were any errors.

(Inherited from TSqlParser)
ParseSchemaObjectName(TextReader, IList<ParseError>, Int32, Int32, Int32) ParseSchemaObjectName(TextReader, IList<ParseError>, Int32, Int32, Int32) ParseSchemaObjectName(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a SchemaObjectName. This will return null, if there were any errors.

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

Parses an input string to get a statement list. This will return null, if there were any errors.

(Inherited from TSqlParser)
ParseStatementList(TextReader, IList<ParseError>, Int32, Int32, Int32) ParseStatementList(TextReader, IList<ParseError>, Int32, Int32, Int32) ParseStatementList(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a statement list. This will return null, if there were any errors.

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. This will return null, if there were any errors.

(Inherited from TSqlParser)
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. This will return null, if there were any errors.

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

Parses the input script to return the SchemaObjectName of the first create/alter sql_module statement, if found.

(Inherited from TSqlParser)
TryParseTriggerModule(TextReader, SchemaObjectName, SchemaObjectName) TryParseTriggerModule(TextReader, SchemaObjectName, SchemaObjectName) TryParseTriggerModule(TextReader, SchemaObjectName, SchemaObjectName)

Parses the input script to return the trigger name and trigger target name of the first create/alter trigger statement.

(Inherited from TSqlParser)
ValidateIdentifier(String) ValidateIdentifier(String) ValidateIdentifier(String)

Check if a name is a valid sql identifier

(Inherited from TSqlParser)

Properties

QuotedIdentifier QuotedIdentifier QuotedIdentifier

Indicates whether quoted identifier is enabled for the parser.

(Inherited from TSqlParser)

Applies to