CHECKPOINT Example | SQL Statements | Teradata Vantage - CHECKPOINT Example - Advanced SQL Engine - Teradata Database

SQL Data Manipulation Language

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
vjt1596846980081.ditamap
dita:ditavalPath
vjt1596846980081.ditaval
dita:id
B035-1146
lifecycle
previous
Product Category
Teradata Vantageā„¢

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 is executed, 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.