Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Registros Duplicados
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00797664
Message ID:
00806303
Views:
12
Hola compañero yo tengo uno talves te pueda servir me ha sacado de apuros en varias ocaciones. Su funcionalidad es la siguiente:

- PARA SABER QUE REGISTROS TIENES DUPLICADOS (SINO TIENES LLAVE PRIMARIA EN LA TABLA), DEBES DE ESTABLECER UN INDICE EL CUAL TE VA PROPORCIONAR DE MANERA ORDENADA LOS REGISTROS DUPLICADOS, A ESTO ES A LO QUE LE DENOMINO "LLAVE", Y POR AHÍ ES DONDE PODES COMENZAR TU BUSQUEDA.

- LUEGO DE ESO, LA INSTRUCCION SE ENCAGRA DE FILTRARTE YA SEA A PANTALLA O A UN CURSOR DEFINIDO POR VOS LOS REGISTROS DUPLICADOS PARA LA LLAVE QUE DEFINISTES Y LA CANTIDAD DE VECES QUE SE REPITE.


select LLAVE, count(*) from TABLA group by LLAVE having count(*) > 1

BUENO CARLOS ESPERO QUE MI INBSTRUCCION TE SIRVA.

ING. JASON BURKE.
COLUMBUS IT PARTNER
INGENIERIA VISUAL
Ing. Jason Burke Boxx
Columbus IT Partner
Ingenieria Visual
Previous
Reply
Map
View

Click here to load this message in the networking platform