Insert select from procedure into temp table