From: | "Mauricio Rodrigo Delgado Pino" <mauriciodelgadopino(at)yahoo(dot)es> |
---|---|
To: | "pedro baldovino" <pedrobaldovinomartin(at)yahoo(dot)com(dot)ar> |
Cc: | <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | Re: ayuda postgres con fox |
Date: | 2006-07-07 16:06:08 |
Message-ID: | 002701c6a1df$43e68e80$330564c8@nefi |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
probaste rebisando el postgresql.conf modifivando el datestyle
----- Original Message -----
From: pedro baldovino
To: pgsql-es-ayuda postgresql
Sent: Friday, July 07, 2006 10:48 AM
Subject: [pgsql-es-ayuda] ayuda postgres con fox
Hola lista.
Tengo una aplicación en Visual Fox 6.0 con Postgresql
8.1.3. cuando inserto un registro lo hace bien pero
cuando se actualiza un campo date, el obdc me da un error en la fecha :
invalid input syntax for type date.
El error en el archivo de log de odbc es:
conn=2cb0048, query='INSERT INTO transporte.propiet
(cuilcuit,tipodat) VALUES ('45550',E'11 ')'
el insert da bien pero el udpate me da este error:
conn=2cb0048, query='UPDATE transporte.propiet SET
alta='2004-10-10'::date WHERE cuilcuit='45550' AND
alta=E'''
ERROR from backend during send_query: 'SERROR'
ERROR from backend during send_query: 'C22007'
ERROR from backend during send_query: 'Minvalid input
syntax for type date: ""'
ERROR from backend during send_query: 'Fdatetime.c'
ERROR from backend during send_query: 'L3411'
ERROR from backend during send_query:
'RDateTimeParseError'
STATEMENT ERROR: func=SC_execute, desc='(null)',
errnum=7, errmsg='Error while executing the query'
------------------------------------------------------------
hdbc=2cb0048, stmt=27d8548,
result=27d2310
prepare=0, internal=0
bindings=27da870,
bindings_allocated=46
parameters=2cb9358,
parameters_allocated=3
statement_type=2, statement='UPDATE
transporte.propiet SET alta=? WHERE cuilcuit=? AND
alta=?'
stmt_with_params='UPDATE
transporte.propiet SET alta='2004-10-10'::date WHERE
cuilcuit='45550' AND alta=E'''
data_at_exec=-1,
current_exec_param=-1, put_data=0
currTuple=-1, current_col=-1,
lobj_fd=-1
maxRows=0, rowset_size=1,
keyset_size=0, cursor_type=0, scroll_concurrency=1
cursor_name='SQL_CUR027D8548'
----------------QResult Info
-------------------------------
fields=27da360, backend_tuples=0,
tupleField=0, conn=0
fetch_count=0, num_total_rows=0,
num_fields=0, cursor='(NULL)'
message='ERROR: invalid input syntax
for type date: ""', command='(NULL)', notice='(NULL)'
status=7, inTuples=0
CONN ERROR: func=SC_execute, desc='(null)',
errnum=110, errmsg='ERROR: invalid input syntax for
type date: ""'
muchas gracias
------------------------------------------------------------------------------
Horóscopos, Salud y belleza, Chistes, Consejos de amor.
El contenido más divertido para tu celular está en
Yahoo! Móvil
From | Date | Subject | |
---|---|---|---|
Next Message | Felipe | 2006-07-07 17:53:04 | %PL/R |
Previous Message | Moises Alberto Lindo Gutarra | 2006-07-07 15:16:55 | Re: ayuda postgres con fox |