Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sanity check
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01106400
Message ID:
01106449
Views:
20
>I usually run SELECT with the same conditions and check result to see if it does what I want.

Good point.

>
>>I want to delete all bad child records in Insurances for empty Carriers or XXXXXXXX Carriers. I do
>>
>>
>>DELETE FROM Insurances where cCarrier_Branches_fk ;
>>in (select cCarrier_Branches_pk from Carrier_Branches ;
>>inner Join Carriers on Carrier_Branches.cCarriers_fk = Carriers.cCarriers_pk ;
>>where EMPTY(cCarrier_Name) ;
>>OR 'XXX' $ cCarrier_Name)
>>
>>I then checked number of deleted records and it's too big (but I didn't check it before running this code). Am I right here?
>>
>>Thanks.
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Reply
Map
View

Click here to load this message in the networking platform