Back to Materialize

DISCARD

doc/user/content/sql/discard.md

123434 B
Original Source

DISCARD resets state associated with the current session.

Syntax

mzsql
DISCARD TEMP|TEMPORARY|ALL ;
Syntax elementDescription
TEMPDrops any temporary objects created by the current session.
TEMPORARYAlias for TEMP.
ALLDrops any temporary objects, deallocates any extant prepared statements, and closes any extant cursors that were created by the current session.