Well, we need the error... If you enable sql error logging in the control panel and can recreate the error then it'll be copied to the file you specify (in the cp).
You could also disable the generic error message by editing /libs/mysql.inc.php and looking for the $show_error line and setting it to a 0, but I'd recommend changing it back to a 1 when done as it can have security implications when left on.