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.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
qtb1554762060450.ditamap
dita:ditavalPath
lze1555437562152.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.