Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding Orphans
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00508438
Message ID:
00508455
Views:
19
>I'm trying to figure out the SQL Syntax to find orphan records in a detail table, that have no counterpart in a parent table. This is something like SELECT all records in TABLE A which don't have a matching record (on a key field) in TABLE B. I can do this with brute force in good 'ol dbase code, but can't SQL do this?
>
>Thanks.
>
>--- L
Ok, I wanted to show the syntax, but you got it already. Just in case for another approach, check FAQ Fastest way to find orphans November 22, 2000 16:44 FAQ #7985
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform