in reply to DBI: error in SQL syntax.

You're indeed correct, dropping the TABLE solved my problem. Thanks for the quick response.