I had to delete this script as the table was over 25 million rows and queries were killing my server