Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A bug or normal integer operation ???
Message
From
01/08/2000 12:53:22
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00399275
Message ID:
00399432
Views:
24
>Cetin,
>
>I just checked this against SQL Server using SPT. The table had an identity column with values between 1 and 250. When I used "WHERE IDENTITY_COLUMN BETWEEN 0 AND 0xFFFFFFFF", I got zero records. When I used "WHERE IDENTITY_COLUMN BETWEEN 0 AND 0x7FFFFFFF" I got back all 155 records. Since, of course, I was just passing a string, VFP wasn't involved in the retrieval. Apparently, SQL Server uses signed integers as well. At least it's consistent.:-)


Thanks George. Sorry for being late (ISP problem).
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