In many scenarios, we need to recreate tables containing large volumes of data, multiple indexes, foreign keys, and other constraints. This process requires carefully crafted scripts to meet all requirements while preserving high availability in the environment. This session proposes to showcase a set of SQL mechanisms I’ve developed over more than 10 years working with Db2. These scripts automate and dramatically accelerate the generation of all required statements—turning tasks that once took days into activities completed in just a few hours or even minutes, with full traceability and control over every action executed.