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:39:20
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00549743
Message ID:
00549744
Views:
17
This message has been marked as a message which has helped to the initial question of the thread.
>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

Brian,
When you don't have a true cursor (nofilter clause) SQL might simply set a filter on records (with ANSI on or off). Was that what you mean ?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform