Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excluding records in a JOIN
Message
 
 
To
24/10/2008 12:22:24
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01356965
Message ID:
01356982
Views:
18
>How do select from TableA, and exclude records that match TableB?

select TableA.* LEFT JOIN TableB on TableA.PK = TableB.FK WHERE TableB.FK IS NULL
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