filmov
tv
Coding in RPG (IBM i/AS400). Using SQL history tables.

Показать описание
In this video I'd like to show you an example of how you can create and use history tables in SQL.
This is something that is very useful, for storing changes and deleted records, and is something that is automatically done by the database engine.
Please, let me know what you think about it. Leave your comments below.
Don't forget to subscribe!
#ibmi #ibm #rpg #rpgle #rpgfree #newvideo #ibmtraining #ibmcoding #rpgtraining #as400 #common #modernize #SQL #temporaltables #ibmchampion
0:00 Introduction
0:45 Starting creating a table using Run SQL Scripts
1:26 Creating the history table
1:50 Adding both tables to be journalized
3:10 Using "ADD VERSIONING USE HISTORY TABLE"
3:48 Adding some records to the table
4:45 Talking about "implicitly hidden" fields
6:40 Updating a record in my table, and watching the history table
8:00 Deleting a record in my table, and watching the history table
8:56 Recovering deleted data from the history table and inserting it into the main table
10:44 Unlinking the history table with the main table, so I can drop them
11:34 Final comments and ending
This is something that is very useful, for storing changes and deleted records, and is something that is automatically done by the database engine.
Please, let me know what you think about it. Leave your comments below.
Don't forget to subscribe!
#ibmi #ibm #rpg #rpgle #rpgfree #newvideo #ibmtraining #ibmcoding #rpgtraining #as400 #common #modernize #SQL #temporaltables #ibmchampion
0:00 Introduction
0:45 Starting creating a table using Run SQL Scripts
1:26 Creating the history table
1:50 Adding both tables to be journalized
3:10 Using "ADD VERSIONING USE HISTORY TABLE"
3:48 Adding some records to the table
4:45 Talking about "implicitly hidden" fields
6:40 Updating a record in my table, and watching the history table
8:00 Deleting a record in my table, and watching the history table
8:56 Recovering deleted data from the history table and inserting it into the main table
10:44 Unlinking the history table with the main table, so I can drop them
11:34 Final comments and ending
Coding in RPG (IBM i/AS400). Creating and using a VIEW.
Coding in RPG (IBM i/AS400). Using Deploy tool in VS Code/Code for IBM i
Coding in RPG (IBM i/AS400). Templates.
Coding in RPG (IBM i/AS400). Comparing occurs with other structures
Coding in RPG (IBM i/AS400). Converting file operations in RPG to embedded SQL operations in RPG.
Coding in RPG (IBM i/AS400). Using SQL to look for object locks.
Coding in RPG (IBM i/AS400). Using the option *convert.
IBM i, AS400 Tutorial, iSeries, System i - Introduction to RPG programming for Beginners_ENGLISH
Coding in RPG (IBM i/AS400). Using SQL to look for jobs information.
Coding in RPG (IBM i/AS400). Subroutines and subprocedures.
Coding in RPG (IBM i/AS400). Improving a process with activation groups.
Coding in RPG (IBM i/AS400). Using *nopass and *omit parameter options
Coding in RPG (IBM i/AS400). Using pointers.
Coding in RPG (IBM i/AS400). Creating a service program.
Coding in RPG (IBM i/AS400). Activation Groups.
Coding in RPG (IBM i/AS400). Using WHEN-IS and WHEN-IN
Coding in RPG (IBM i/AS400). Recursion in subprocedures.
Coding in RPG (IBM i/AS400). Creating IFS files using RPG and SQL
Coding in RPG (IBM i/AS400). Using SQL history tables.
Coding in RPG (IBM i/AS400). Using ON EXIT.
Coding in RPG (IBM i/AS400). Using CREATE FUNCTION and CREATE PROCEDURE
Coding in RPG (IBM i/AS400). Reading Data Areas using SQL.
Coding in RPG (IBM i/AS400). RPG & VScode & make, adding a display file
Coding in RPG (IBM i/AS400). When to create a SQL index.
Комментарии