Ver Mensaje Individual
  #8  
Antiguo 01-07-2010
cloayza cloayza is offline
Miembro
 
Registrado: may 2003
Ubicación: San Pedro de la Paz, Chile
Posts: 915
Reputación: 23
cloayza Tiene un aura espectacularcloayza Tiene un aura espectacular
Podrias incorporar una verificacion del largo de la variable DETALLE...

Código SQL [-]
 --Concatena los detalles
IF (CHAR_LENGTH(DETALLE)=0) THEN
   DETALLE=strDetalle;
ELSE
   DETALLE=DETALLE||' '||strDetalle;

Saludos
Responder Con Cita