Copy database. The query error still exists.