A Divendres, 13 de novembre de 2009 16:04:01, Maxi va escriure: > Hola gente > > > Estoy con un problemita con mi ODBC accediendo a un base mdb. > Puedo hacer SELECT pero no INSERT ni UPDATE, me responde con "Error at > Line : syntax error near update" > los campos estan bien, son numericos y no son autoincremental. > > En que le estoy errando? > Gracias. > Maxi. > > vfon11:/var/www# isql ivr > +---------------------------------------+ > | Connected! | > | | > | sql-statement | > | help [tablename] | > | quit | > | | > +---------------------------------------+ > > SQL> select * from ivr > > +------------+------------+------------+ > | telefono | demora | confirmado | > +------------+------------+------------+ > | 2 | 2 | 2 | > | 3 | 3 | 3 | > +------------+------------+------------+ > SQLRowCount returns 2 > 2 rows fetched > > SQL> update ivr set telefono=4 where demora=2 > Error at Line : syntax error near update > SQLRowCount returns 0 > SQL> > > > ¿Has probado a poner comillas? Quizás con update ivr set telefono='4' where demora='2'
Robert Gironés Margarit Grup Bages Formadors, SL robert@grupbages.cat |