Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No. of recs in SQL result set
Message
From
28/08/2001 08:44:34
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00549743
Message ID:
00549748
Views:
22
If WHERE clause of select statement is optimazable and only fields from the table is requested, foxpro opens FROM table with AGAIN clause and ALIAS . If subset of the fields is requested than SET FIELDS command used to show only those fields. ? DBF() will return original table name in this case. There's NOFILTER clause that forces foxpro to create cursor as temporary table.

>Hi all,
>
>I think I'm missing something simple here, so feel free to slap me:
>
>In VFP 6 SP5 (and VFP7), I found out that if SET('ANSI') = ON and SET('EXACT') = ON then a SQL Select will return a result set that contains all of the records in the called table, but you can only "see" the ones that match the WHEN condition. Is this for real? This must be by design but could someone tell me why? I would image that you'd only want the result set to contain the records that matched the WHERE condition...
>
>Thanks,
>
>- Brian
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform