Temporary Tables in Db2 (along with a painful lesson)

A temporary table (in most RDMS) is a place to keep data for the duration of some application process.  The data is basically private and only available to the application user.

The typical end-user of a temporary table ranges from simple ad-hoc dynamic end-users (like you or me) up to real application programs (native SQL stored procedures or COBOL). 

Temporary tables are used in dynamic and static SQL. 

A temporary table is a place to store relevant to your needs.  Whether you are an application or some end-user. It is a place to keep data. It helps give SQL coding options. They can help reduce SQL complexity!  You can break down potentially complex, confusing or large SQL into smaller SQL chunks via temporary tables.

Click here to read the full article. (IDUG login required):


Recent Stories
May sum up at IDUG

From Data to Insight: Infusing your Enterprise AI with IBM Watson Machine Learning for z/OS

Data Science and Db2 for z/OS – Do they tie together?