Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

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

 
 
Herramientas Buscar en Tema Desplegado
  #3  
Antiguo 04-07-2006
Avatar de Coco_jac
Coco_jac Coco_jac is offline
Miembro
 
Registrado: mar 2005
Ubicación: Lima Peru
Posts: 338
Poder: 22
Coco_jac Va por buen camino
Hola Gracias por responder, hize loa cambios pero no tengo resultados, me sigue botando error :

Código Delphi [-]
select datatrab.codtra
from datatrab
inner join registro on datatrab.codtra=registro.codtra
where datatrab.codtra not in
(select registro.codtra from registro where registro.fecha='2006-07-04' and left(registro.codtra,1)='O')

Este es el error :

Código Delphi [-]
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'select registro.codtra from registro where registro.fecha='2006'
Responder Con Cita
 



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
Clausula LIKE federiconqn21 SQL 3 28-12-2005 15:49:13
Delete sin clausula where Fita Conexión con bases de datos 2 06-07-2005 01:35:04
Clausula order by C1, C2 desc Jack Firebird e Interbase 3 05-11-2004 20:29:22
Usando la cláusula LIKE mlara Firebird e Interbase 1 10-06-2003 06:12:01
Clausula UNION TJose Firebird e Interbase 3 15-05-2003 20:59:56


La franja horaria es GMT +2. Ahora son las 19:26:03.


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