CHECKPOINT Example | SQL Statements | VantageCloud Lake - CHECKPOINT Example - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

The following request can be used to place a checkpoint entry into a journal table:

CHECKPOINT account_db.jnl_table, NAMED daily_pay_maint;

When this request runs, all update activity is ceased on tables that write journal images to the journal table, (jnl_table) and an event number is returned.

A row containing the daily_pay_maint label is placed into the journal table. The label can then be used in rollforward or rollback operations.