# Executing massive SQL query

**URL:** <https://forum.kirupa.com/t/executing-massive-sql-query/281787>\
**Category:** programming\
**Created:** [February 13, 2009, 6:36am UTC](https://forum.kirupa.com/t/executing-massive-sql-query/281787 "2009-02-13T06:36:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Icy\_Penguin](https://avatars.discourse-cdn.com/v4/letter/i/f6c823/32.png) [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Post date:** [February 13, 2009, 6:36am UTC](https://forum.kirupa.com/t/executing-massive-sql-query/281787/1 "2009-02-13T06:36:52Z")

</div>

I’m running MAMP on my MacBook and I need to execute a 10MB SQL query into a database (it’s the entire Bible) - but I guess the maximum execution time for a script is being hit every time.

What can I do to get this done aside from cutting and pasting hundreds of times?
