Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exact OFF Strrange Behaviour
Message
From
22/12/2003 18:23:01
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00861443
Message ID:
00861452
Views:
18
>I am using SQL Statement which brings more records than I need because it behaves like SET EXACT OFF, here is my statement
>SELECT code from items where alltrim(code) > = '140' and alltrim(code) < = '140'
>The Result sets contains records for item = '140' and item = '1404'
>I even tried to set exact on but with no change.
>Any Help on that

For this behavior to work correctly in SELECT-SQL statements, you must SET ANSI ON [to tell vfp to use ANSI standards for string comparisons].
Insanity: Doing the same thing over and over and expecting different results.
Previous
Reply
Map
View

Click here to load this message in the networking platform