Avoid Error 3519 in stored procedure

Database
Enthusiast

Avoid Error 3519 in stored procedure

Hi,

I have a created a stored procedure with many volatile tables. After calling the proc, the volatile tables will be dropped at the end of the procedure. But if i get any error while calling the proc, some tables are created but not dropped. I know that I can use continue handler to avoid that issue and drop the tables before the proc starts. But I was asked not to use continue handler in the proc. I had to drop tables seperatly or I might have to disconnect the session and start again.  Is there any way to over come this issue?