Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DELETE With SQL JOIN
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01315895
Message ID:
01315896
Vues:
19
DELETE InvLines FROM InvLines ;
    JOIN InvMast ON InvMast.ivl_Invoice = InvLines.ivl_Invoice ;
	      WHERE InvMast.ivm_Batch = sBatchId
>How do I do this with a JOIN:
>
>
>
>** Delete the invoice line item records
>DELETE FROM InvLines;
>    WHERE ivl_Invoice IN;
>         (SELECT ivm_Invoice;
>	      FROM InvMast;
>	      WHERE ivm_Batch = sBatchId)
>
>
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform