Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use subquery
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01514285
Message ID:
01514307
Views:
33
>>>Keep in mind that the above case has more records in Table2 than in Table 1 and for this FULL JOIN seem to work. But I need to test it in the case when Table1 has more records than Table2.
>>
>>Why do you have duplicates in the PK field in the table1? Are you sure you're using the correct code (or PK field is not a primary key and only named so to confuse everyone)?
>
>I think the PK here has nothing to do whit the query :-)
>It can have whatever value you want :-) and Dmitry just copy & paste the records :-)

If a table has a field name starting with pk_, I think it's very logically to expect this field to be a primary key for that particular table and not another table which is not present. Either drop PK or make this field primary.

It's almost like a joke about a converted jew (could not be told in a big company, though) :)
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