Another approach to partition, 3 parameters added, and the trigger instead of inserting to unknow table creates child tables on the fly

Another approach to partition, 3 parameters added to fill child tables with data and to truncate parent table data only, and the trigger instead of inserting to unknow table creates child tables on the fly.