Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Bases de datos > Firebird e Interbase
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 03-08-2018
Avatar de gmontes
gmontes gmontes is offline
Miembro
 
Registrado: jul 2004
Ubicación: Culiacán, Sinaloa, México
Posts: 668
Poder: 20
gmontes Va por buen camino
solucion

listo, despues de quebrarme la cabeza todos estos dias encontre la solucion




End of command usually means that the parser reached the end of the statement while it was still expecting tokens, or reached a parser state where it should be complete but there are still tokens left. The fact you are concatenating values into the query is a red flag. Also the "column 532676549" could be an indication of problem, as that exceeds query length limits (64k in Firebird 2.5 and earlier), and also suggests you have literals that are larger than supported (32k). Mark Rotteveel


https://stackoverflow.com/questions/...e-statement-in


el construir el query con los campos y los valores excedia el limite del largo de este


la solucion es parametrizar el insert o update como en este ejemplo . se timbra correctamente y guarda en mi base de datos

Código Delphi [-]
Close;
               SQL.Clear;
                SQL.Text:= 'UPDATE cfdi_documentos SET  contenido_xml = :Variable_xml where  empresa=''CAMSI''  and tipo=''F'' and documento= :Folio_xml';   

               ParamByName('Variable_xml').AsBlob:= facturaCFDIv33.XML;   //aqui va el xml de 912 lineas               
               ParamByName('Folio_xml').AsString:= sFolio;               
               ExecSQL;                                                               
               Close;




listo, gracias por todo
__________________
Todos llevamos nuestros demonios a cuestas..

Última edición por gmontes fecha: 03-08-2018 a las 06:35:44.
Responder Con Cita
Respuesta



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
Error al guardar Jpeg en Campo Blob El_Perrito Gráficos 6 28-04-2012 20:06:38
guardar archivos en un campo blob a_f_g Firebird e Interbase 10 07-11-2008 20:46:28
Error en Query.Open : Invalid field type (BLOB) natalinuyo Gráficos 4 15-10-2008 20:16:29
Problema con Campo BLOB SUB_TYPE TEXT SEGMENT SIZE 80 philadelfia2006 Firebird e Interbase 2 11-12-2007 21:53:58
guardar un fichero en un campo blob apicito Firebird e Interbase 2 02-03-2005 12:01:54


La franja horaria es GMT +2. Ahora son las 21:12:04.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi