Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL syntax w/Outer Joins, & a refererence to 'Hacker's G
Message
From
04/04/2000 00:56:42
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00354817
Message ID:
00354823
Views:
16
Kevin,

>First, for all the 10 million times that the Hacker's Guide has saved me, there's something in the new book (bottom of page 739) that isn't consistent with my findings. It says you can't mix and match WHERE and JOIN...you can only do one or the other. However, I need to do additional filtering on dates and acct/item criterias....I'm mixing both here, and (seem) to get reliable results.

Read again, then read on. Bottom of page 739 is referring to "join conditions" being either JOIN or WHERE syntax. On page 741 the use of the WHERE clause for "filter conditions" is discussed. You *can* (as you have proved to yourself) use those even with the JOIN syntax.

>Also...is it legitimate to have a multi-field concatenation in the OUTER JOIN? (where I have CostRate.Acct + CostRate.Item)

Sure.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Reply
Map
View

Click here to load this message in the networking platform