15.10 - Example: Local Journaling - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

As an example, given the following CREATE TABLE requests:

     CREATE TABLE cyk.test_1, NO FALLBACK, AFTER JOURNAL (
       x INTEGER, 
       y INTEGER) 
     PRIMARY INDEX(x);
    
     CREATE TABLE cyk.test_2, NO FALLBACK, NOT LOCAL AFTER JOURNAL (
       x INTEGER, 
       y INTEGER) 
     PRIMARY INDEX(x);
    
     CREATE TABLE cyk.test_3, NO FALLBACK, LOCAL AFTER JOURNAL (
       x INTEGER, 
       y INTEGER) 
     PRIMARY INDEX(x);

SHOW TABLE produces the following output:

     CREATE TABLE cyk.test_1, NO FALLBACK, NO BEFORE JOURNAL,
       NOT LOCAL AFTER JOURNAL (
       x INTEGER, 
       y INTEGER) 
     PRIMARY INDEX(x);
    
     CREATE TABLE cyk.test_2, NO FALLBACK, NO BEFORE JOURNAL,
       NOT LOCAL AFTER JOURNAL (
       x INTEGER, 
       y INTEGER) 
     PRIMARY INDEX(x);
    
     CREATE TABLE cyk.test_3, NO FALLBACK, NO BEFORE JOURNAL,
       LOCAL AFTER JOURNAL (
       x INTEGER, 
       y INTEGER) 
     PRIMARY INDEX(x);