Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Questions
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SQL Questions
Miscellaneous
Thread ID:
01052562
Message ID:
01052562
Views:
61
I have the following command:
UPDATE Invoices;
  SET InvoiceId = "ABC123";
  WHERE RecordId IN;
    (SELECT RecordId
     FROM Invoices2)
1) Does VFP first create a subset of Invoices2.RecordId and then use that
to drive the update Invoices? Or is each record in Invoices2 evaulated
for every record in Invoices?

2) Is there a more efficient way to do this?

Thanks
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform