Hi,
I don't think you can do alter operation in the procedure. You can do crud operation because they can be rolled back. But alter operation cannot be rolled back. Do everything or do nothing. So you cannot truncate the table in procedure due to the same reason.
Best regards,
Wenjun