Another approach to partition, 3 parameters added, and the trigger instead of insert in an unknow table creates child table on the fly when needed