Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL question
Message
From
19/12/2001 13:37:53
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00596300
Message ID:
00596316
Views:
17
Hi Bret!

Actually these two statements get the same results. Both return the same three records.
SELECT * from prop_97 WHERE prop_numb = VAL("1065")
SELECT * from prop_97 WHERE ALLTRIM(STR(prop_numb)) == "1065"
Note the "=="

What I have a problem with is that
SELECT * from prop_97 WHERE prop_numb = VAL("10655")
gets zero records and
SELECT * from prop_97 WHERE ALLTRIM(STR(prop_numb)) == ("10655")
gets three records. What's the difference?
Jim Philippi

quando omni flunkus moritati
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform