Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A bug or normal integer operation ???
Message
From
01/08/2000 11:35:46
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00399275
Message ID:
00399358
Views:
17
>>OK George it's different from ANSI SQL. I can understand it. I can't understand why if operand is from first table it returns records. I expected it to either return none or all in both cases.
>
>Cetin,
>
>I don't know Cetin. I just tried it on a parameterized remote view against SQL Server 7.0, using datetimes. The start datetime was later than the stop. No records came back. When I reversed them 722 came back. So I think it may apply to ANSI as well.
>
>>There is a Turkish saying :
>>'A dumb throwed a stone in the well and 40 wise couldn't take it of' :)
>>I think this is kinda situation. MS team should think of it as a feature :) BTW this is under VFP5 and didn't test under VFP6 yet. Maybe it's in the fixed list.
>
>Mine was done under VFP 6.0 so I don't think that it's viewed as a bug. I think my code snippet may be accurate. At least it explains what's happening.:-)


:) In my integer case if you reverse you get 0 in both SQLs (just what I expect:)
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