Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLEdb vfp data provider and fpw26 free tables
Message
From
20/10/2003 07:06:19
 
 
To
18/10/2003 06:30:07
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00837948
Message ID:
00840196
Views:
26
Once again,

You have saved me. Thank you ever so much.

Regards,
Neil

>Guess what :) You'd succeed if you chose someone else other than 765583.
>
>select * from c:\temp\neil\arypat01.dbf where ltrim(custid) = '765583'
>select * from c:\temp\neil\arypat01.dbf where ltrim(custid) == '765583'
>select * from c:\temp\neil\arypat01.dbf where val(custid) = 765583
>select * from c:\temp\neil\arypat01.dbf where custid like '%765583%'
>
>all succeeded vs custid = '765583' failing (char (6)). I was stumped at first too :)
>select * from c:\temp\neil\arypat01.dbf where custid = '7'
>returned all but 765583.
>
>Checked your table and you had 2 indexes usign custid in key. All above expressions are nonoptimizable and are not using any available indexes :) I went to fox2x, reindexed the table and now all works including :
>
>select * from c:\temp\neil\arypat01.dbf where custid = '765583'
>select * from c:\temp\neil\arypat01.dbf where custid == '765583'
>
>Cetin
>
>
>>I sent the tabel to cetin@yapayzeka.com
>>
>>>>CHARACTER
>>>>
>>>>>Neil,
>>>>>In your free table what's the datatype of custid ?
>>>>>Cetin
>>>
>>>Would you email me the free table :)
>>>Cetin
Previous
Reply
Map
View

Click here to load this message in the networking platform