Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL learner ...
Message
From
27/03/2002 04:12:49
Denis Filer
University of Oxford
United Kingdom
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
SQL learner ...
Miscellaneous
Thread ID:
00637683
Message ID:
00637683
Views:
35
I am converting all my home-written queries into SQL. I am learning that I have to think differently! e.g. SQL does not respect normal filters. I also realise that my table relations are ignored in where clauses.

1. The main table alias SP is related to a table with alias SPLINK on a
field SPCODE.

2. My where clause (&customwhere)is:
sp.taxstat = 'ACC' and splink.habit = 'TR'

3. My SQL select clause is:
SELECT * FROM SP INTO TABLE (cMytemptab) WHERE &customwhere
... does not work.

Do I have to use a join statement?
Next
Reply
Map
View

Click here to load this message in the networking platform