need
Encountered a problem, you need to add a field to a type of log table. When there are few log tables, you can also modify the table structure to achieve, but when there are many such log tables (hundreds of log tables), how to Realize it?
accomplish
When there are many tables, it can be implemented through stored procedures, as follows:
# use the process