public final class MsAlterOther extends MsParserAbstract
Parser for Microsoft SQL ALTER statements that handle schemas, users, and sequences. Processes ALTER SCHEMA, ALTER USER, and ALTER SEQUENCE statements with appropriate danger warnings for potentially destructive operations like RESTART WITH.
  • Constructor Details

    • MsAlterOther

      public MsAlterOther(TSQLParser.Schema_alterContext ctx, MsDatabase db, ISettings settings)
      Creates a parser for Microsoft SQL ALTER statements.
      Parameters:
      ctx - the ANTLR parse tree context for the ALTER statement
      db - the Microsoft SQL database schema being processed
      settings - parsing configuration settings
  • Method Details

    • parseObject

      public void parseObject()
      Description copied from class: ParserAbstract
      Parses a database object from the current context. Must be implemented by concrete subclasses to handle specific object types.
      Specified by:
      parseObject in class ParserAbstract<MsDatabase>