Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outer join question.
Message
 
 
To
14/07/2000 13:04:58
Brent Knight
Progressive Impressions International
Bloomington, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00392533
Message ID:
00392538
Views:
8
>I am doing an outer join where I want to pull in all record from conford and just O_rec_id from conflist. Here is my statement.
>
>
>select * from conflist L right outer join conford O on L.O_rec_id into cursor tempord
>
>When I run this I get an error that says my where clause isn't right. I want all the records so I don't need a where clause right?
>
>Do I have to add an inner join or something? What should I put in the where clause?
>
>Thanks

Assuming O_Rec_ID is the foreign key from ConfList [L], you need a join condition:

JOIN CONFORD O on L.O_Rec_ID = O.Rec_ID
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform