MSSQL.drop_table

MSSQL.drop_table(table_name, schema_name=None, confirmation_required=True, verbose=False)[source]

Delete/drop a table.

Parameters:
  • table_name (str) – Name of the table to be deleted.

  • schema_name (str | None) – Name of the schema where the table resides; defaults to DEFAULT_SCHEMA (i.e. 'dbo') if schema_name=None.

  • confirmation_required (bool) – Whether to prompt for confirmation before proceeding; defaults to True.

  • verbose (bool | int) – Whether to print relevant information in the console; defaults to False.

See also