FoxPro/Visual FoxPro - COMPARAR REGISTROS EN 2 TABLAS

 
Vista:

COMPARAR REGISTROS EN 2 TABLAS

Publicado por GUSTAVO (2 intervenciones) el 28/02/2005 16:54:58
SEÑORES : TENGO 2 TABLAS Y QUIERO FILTRAR LOS REGISTROS QUE NO ESTEN TANTO EN UNA COMO EN LA OTRA,ES DECIR FILTAR LOS REGISTROS QUE TANTO EN UNA COMO EN OTRA NO EXISTAN? QUE COMANDOS PUEDO UTILIZAR?
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:COMPARAR REGISTROS EN 2 TABLAS

Publicado por milton (1 intervención) el 30/07/2007 12:28:02
si te contestan y te dicen como se hace decimelo por favor
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:COMPARAR REGISTROS EN 2 TABLAS

Publicado por charly leovis (1 intervención) el 27/11/2007 21:02:24
como puedo comparar la fecha de la fecha que jalo de la pc con el comando date() con otra de un text y decirle que me haga una accion cuando sea igual o mayor o menor o que me tire un mensaje
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:COMPARAR REGISTROS EN 2 TABLAS

Publicado por alfredo (1 intervención) el 07/07/2009 03:18:35
T6ENGO EL MISMO PROBLEMA DE COMPRARACION DE TABLAS


SEÑORES : TENGO 2 TABLAS Y QUIERO FILTRAR LOS REGISTROS QUE NO ESTEN TANTO EN UNA COMO EN LA OTRA,ES DECIR FILTAR LOS REGISTROS QUE TANTO EN UNA COMO EN OTRA NO EXISTAN? QUE COMANDOS PUEDO UTILIZAR?

LES AGRADEZCO ME AYUDE

ALFREDO GARCIA
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:COMPARAR REGISTROS EN 2 TABLAS

Publicado por Andres (1 intervención) el 10/08/2009 20:00:52
Si entiendo bien, lo mejor seria con una consulta, es decir algo como:

select * from tabla1, tabla2 where tabla1.campo not in(select tabla2.campo from tabla2) y viceversa para la otra tabla.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:COMPARAR REGISTROS EN 2 TABLAS

Publicado por Felix Almonte (1 intervención) el 27/04/2018 21:51:53
Cambia a VPF9

select * from tabla1 where not exists(select 1 from tabla2 where tabla2.campo = tabla1.campo) y viceversa para la otra tabla.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar