Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TSqlParser Methods

SQL Server 2012

The TSqlParser type exposes the following members.

  Name Description
Public method Create Creates a Transact-SQL parser for the specified version.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetTokenStream(TextReader, IList<ParseError>) Returns a list of parser tokens and a list of errors by using the provided text reader.
Public method GetTokenStream(TextReader, IList<ParseError>, Int32, Int32, Int32) Returns a list of parser tokens and a list of errors by using the provided text reader.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Parse(TextReader, IList<ParseError>) Returns a script fragment and a list of errors by using the provided text reader.
Public method Parse(IList<TSqlParserToken>, IList<ParseError>) Returns a script fragment and a list of errors by using the provided tokens.
Public method Parse(TextReader, IList<ParseError>, Int32, Int32, Int32) Returns a script fragment and a list of errors by using the provided values.
Public method ParseBooleanExpression(TextReader, IList<ParseError>) Returns a Boolean expression and a list of errors by using the provided text reader.
Public method ParseBooleanExpression(TextReader, IList<ParseError>, Int32, Int32, Int32) Returns a Boolean expression and a list of errors by using the provided values.
Public method ParseChildObjectName(TextReader, IList<ParseError>) Returns a child object name and a list of errors by using the provided text reader.
Public method ParseChildObjectName(TextReader, IList<ParseError>, Int32, Int32, Int32) Returns a child object name and a list of errors by using the provided values.
Public method ParseConstantOrIdentifier(TextReader, IList<ParseError>) Returns a constant or identifier and a list of errors by using the provided text reader.
Public method ParseConstantOrIdentifier(TextReader, IList<ParseError>, Int32, Int32, Int32) Returns a constant or identifier and a list of errors by using the provided values.
Public method ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>) Returns a constant or identifier with default values and a list of errors by using the provided text reader.
Public method ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>, Int32, Int32, Int32) Returns a constant or identifier with default values and a list of errors.
Public method ParseExpression(TextReader, IList<ParseError>) Returns an expression and a list of errors by using the provided text reader.
Public method ParseExpression(TextReader, IList<ParseError>, Int32, Int32, Int32) Returns an expression and a list of errors by using the provided values.
Public method ParseScalarDataType(TextReader, IList<ParseError>) Returns a scalar data type and a list of errors by using the provided text reader.
Public method ParseScalarDataType(TextReader, IList<ParseError>, Int32, Int32, Int32) Returns a scalar data type and a list of errors by using the provided values.
Public method ParseSchemaObjectName(TextReader, IList<ParseError>) Returns a schema object name and a list of errors by using the provided text reader.
Public method ParseSchemaObjectName(TextReader, IList<ParseError>, Int32, Int32, Int32) Returns a schema object name and a list of errors by using the provided values.
Public method ParseStatementList(TextReader, IList<ParseError>) Returns a statement list and a list of errors by using the provided text reader.
Public method ParseStatementList(TextReader, IList<ParseError>, Int32, Int32, Int32) Returns a statement list and a list of errors by using the provided values.
Public method 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 method 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 method ToString (Inherited from Object.)
Public method TryParseSqlModuleObjectName Indicates whether the input script contains a SQL module object name.
Public method TryParseTriggerModule Indicates whether the input script contains a trigger module.
Public method ValidateIdentifier Returns whether a name is a valid SQL identifier.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.