ON COMMIT

Important Notice: Migration of Documentation Website

Please be advised that our documentation website is currently undergoing a migration to a new platform. To ensure you have access to the most up-to-date information, we kindly request that you visit our new documentation website located at:

Official Snowflake Snowconvert Documentation

For any immediate assistance or if you encounter any issues, please contact our support team at [email protected].

Thank you for your understanding.

Description

Specifies the behaviour of the temporary table when a commit is done. (Sybase SQL Language Reference)

Grammar Syntax

[ ON COMMIT { DELETE | PRESERVE } ROWS ]

Sample Source Patterns

Input Code:

IN -> Sybase_01.sql
CREATE LOCAL TEMPORARY TABLE temp_employees (
    DATA VARCHAR(255)
) ON COMMIT DELETE ROWS;  

CREATE LOCAL TEMPORARY TABLE temp_projects (
    DATA VARCHAR(255)
) ON COMMIT PRESERVE ROWS; 

Output Code:

SSC-FDM-0008: On Commit not supported.

Last updated