Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subselect in update query
Message
From
12/01/2004 09:10:10
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Netherlands
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Subselect in update query
Miscellaneous
Thread ID:
00865947
Message ID:
00865947
Views:
58
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
Next
Reply
Map
View

Click here to load this message in the networking platform