snowflake.snowpark.catalog.Catalog.dropView¶

Catalog.dropView(view: Union[str, View], *, database: Optional[Union[str, DatabaseModel]] = None, schema: Optional[Union[str, ModelSchemaModel]] = None) → None[source]¶

Drop the given view in the given database and schema. If database or schema are not provided, drop the view in the current database and schema.

Parameters:
  • view – view name or View object.

  • database – database name or Database object. Defaults to None.

  • schema – schema name or Schema object. Defaults to None.