Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Challenge - explain the different results
Message
From
14/03/2001 12:12:15
 
 
To
14/03/2001 12:01:46
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00484410
Message ID:
00484936
Views:
12
>Len,
>
>Courtesy of Anders Altberg, SET ANSI ON will give the same results for each pair of queries.
>

Unfortunately not the expected ones, i.e. ABCD=ABC should be true - but that can be worked around.

Its very disturbing how swapping the order of the integer comparisons or duplicating an integer comparison affects the result set.

Should select only be used with SET ANSI ON to get reliable results ?
Len Speed
Previous
Reply
Map
View

Click here to load this message in the networking platform