Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace for item_id in another table
Message
De
16/04/1999 12:38:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Replace for item_id in another table
Divers
Thread ID:
00209054
Message ID:
00209054
Vues:
52
We're trying to get a particular office's data out of our main database. I can easily pull all their data into another table with a sql statement. Then what I'd like to do is:

select MainTable
delete for item_id in (select item_id from OtherTable)

But apparently that doesn't work.

My backup plan is a loop but I was wondering if there's a sql way to do it. Thanks!
~~~~~~~~~~
Denise
~~~~~~~~~~
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform