Let me talk about the next two points: 1. When encountering a large amount of data inserted and updated, it will be faster to use a stored procedure; 2. The program is not as convenient as the stored procedure to control the rollback operation after inserting records into a large amount of data or table, for example, at the same time When inserting into the warehousing, inventory, and outbound tables, if an error occurs in one place, the stored procedures can all be rolled back together.
Let me talk about the next two points: 1. When encountering a large amount of data inserted and updated, it will be faster to use a stored procedure; 2. The program is not as convenient as the stored procedure to control the rollback operation after inserting records into a large amount of data or table, for example, at the same time When inserting into the warehousing, inventory, and outbound tables, if an error occurs in one place, the stored procedures can all be rolled back together.
Many and very important!