[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[OT] Re: unidodbc



2009/11/13 Robert Gironés Margarit <robert@grupbages.cat>:
> 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

Favor estos temas que están fuera del tema central de la lista deben
tratarse como OT.

Saludos Cordiales
-- 
--------------------------------------------
Roberto Quiñones

Owner - Service Manager and System
ACShell.NET – Internet Services
roberto@acshell.net - www.acshell.net
San Martin #311 Santiago – CL (Chile)
+560981361713
--------------------------------------------


Reply to: