Update procedure.sql

still has issues. the column trick not allowed