Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strtran() in SQL where clause
Message
From
28/08/2002 11:05:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
28/08/2002 11:00:55
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00694135
Message ID:
00694467
Views:
19
>Do you have an idea, Sergey, why on an empty file I *can* index on SUBSTR(fieldx,1,7) yet a STRTRAN will not work?

Depending on the exact expression, strtran(...) will return a zero-length character string for an empty record (EOF).

SUBSTR() should cause no problems, since it is a fixed-length expression.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform