Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select Query with like condition
Message
From
08/03/2004 14:25:47
 
 
To
08/03/2004 14:16:13
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00884197
Message ID:
00884202
Views:
13
>I am using the following query using distinct and like both, Can you please tell me am i doing something wrong, it is not getting the records.
>But there are records which match the criteria:
>
>###################################################################
>Select distinct(a.title),b.docindex_i from ocrdata a,docudeck b ;
>where a.tiffile = b.file_name ;
>and a.ocdata like "%schedule%" ;
>order by a.id into cursor lcsource
>###################################################################
The WHERE condition will be applied after the JOIN, so it may be that the records bubbling up with the DISTINCT clause are not the ones matching your WHERE.
Previous
Reply
Map
View

Click here to load this message in the networking platform