Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String comparisons
Message
 
To
08/11/2006 13:19:27
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Miscellaneous
Thread ID:
01168143
Message ID:
01168155
Views:
14
This message has been marked as a message which has helped to the initial question of the thread.
Put
SET ANSI ON
Try this code
CREATE CURSOR ubtrans (ubnum C(10))
INSERT INTO ubtrans VALUES([01-10])
INSERT INTO ubtrans VALUES([01-10])
INSERT INTO ubtrans VALUES([01-101])
INSERT INTO ubtrans VALUES([01-102])
SET ANSI OFF
SELECT distinct ubnum from ubtrans where between(alltrim(ubnum),'01-10','01-10')
SET ANSI ON
SELECT distinct ubnum from ubtrans where between(alltrim(ubnum),'01-10','01-10')
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Reply
Map
View

Click here to load this message in the networking platform