Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update single column from another table
Message
From
28/11/2001 14:16:00
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00587103
Message ID:
00587129
Views:
28
>Unless I have missed something (very possible today) isn't the SELECT unneeded? Should it be:
>
>UPDATE Table2 SET Table2.commission = Table1.commission ;
> WHERE Table1.emp_name = Table2.emp_name ;
> AND Table1.rptdate = Table2.rptdate
>
>
>Robert

Good question. I assumed that the example was simplified and that some other transformation which required an intermediate step. But, as it stands, it looks like you've got a point.

Jay
Previous
Reply
Map
View

Click here to load this message in the networking platform