Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL command help.
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00343676
Message ID:
00343743
Views:
26
Hi Larry,

>I don't think this is going to work. The subquery will get the latest effective date for the entire table. If all the prices change onthe same day, then that's okay; however, that may not be the case

Yeah, you're right, the subselect needs to look at the primary/foreign key also, doesn't it? It was more of an idea than a working snippet...that's what I get for not thinking it all the way through before starting to write (BG)
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN

If a vegetarian eats vegetables, what does a humanitarian eat?
Previous
Reply
Map
View

Click here to load this message in the networking platform