I made a stored procedure that simply adds a row to a table called export_log. It does the job, but now I want to add another block of code that increments another value (total_