Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mutual DELETE
Message
 
 
À
26/09/2002 14:51:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00704839
Message ID:
00704899
Vues:
17
Try
SELECT Num1 + Num2 FROM mytable ;
	WHERE Num1 + Num2 IN ;
		(select Num2+Num1 from mytable ) ;
UNION ;
SELECT Num1 + Num2 FROM mytable ;
	WHERE Num2 + Num1 IN ;
		(select Num1+Num2 from mytable ) ;
	INTO CURSOR crsList	

DELETE FROM mytable ;
	WHERE num1+num2 in ( ;
		SELECT Num1+Num2 FROM crsList)
> Do I need to input ?nValue each time to delete ? the fact I have thousand
>mutual records to delete in one single process .
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform