• Ironic you mention that because I literally sorted the problem out about half an hour before you responded. I was doing that previously, but my queries for the dataset and report were causing the problem (they would drop a table if it exists then re-create it; instead I just made a separate update_table script and then made my select another script). Thanks.