C'è sicuramente un errore nella stringa SQL. Però dovresti farci vedere il codice.