Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subselect in update query
Message
De
12/01/2004 09:10:10
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Pays-Bas
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Subselect in update query
Divers
Thread ID:
00865947
Message ID:
00865947
Vues:
56
Hi,
can anyone tell me what's wrong with this update query?

procedure P_MinutesOnMedium
lparameters tnMediumid

update medium ;
set total = select sum(length);
from film join recording on film.filmid = recording.filmid;
where recording.mediumid = tnMediumid;
where recording.mediumid = tnMediumid
endproc

thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform