The above example inserts all partitions for a table into the interim table. Typically, you will not want to drop or truncate all partitions in the table. By using the functionality inherent in Candidate Generation, you can control the partitions you want to process. You can control the partitions by one of the following methods:
Hard code the partition names.
Parameterize the partition names.
Use the partitioning key high value to determine if a partition qualifies for processing.