Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.202
  HXTT Cobol 5.0.202
  HXTT DBF 7.1.203
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel 6.1.206
  HXTT Json 1.0.174
  HXTT Paradox 7.1.202
  HXTT PDF 2.0.202
  HXTT Text(CSV) 7.1.202
  HXTT Word 1.1.202
  HXTT XML 4.0.203
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT DBF
equals fails
Mathias Tonn
2008-01-14 06:40:15.0
Hello,

the Problem that i have is the equals Function.
e.g.

Select
*
from
a
where
a.name = '1234567'

a.name has a length of 7. (Datatype varchar)

the statement is matching all if i write trim(a.name)='1234567'.

Why ?

Re:equals fails
HXTT Support
2008-01-31 20:40:35.0
Sorry. We missed to see your post in time.

Maybe there's some spaces before or after your name value.

>a.name has a length of 7. (Datatype varchar)
It's strange. In MS Access, it can store more than 7 character in that column since it can use compression format. But in DBF, it shouldn't happen. You can send us your sample if you think your column length is exact 7, not 8 or other bigger value.
Re:Re:equals fails
Mathias Tonn
2008-01-31 22:51:42.0
We have an foxpro database (vfp9)and work with your driver to generate an webfrontend.

The column length of 'name' is 7 (VFP data type C(9)) and the column are filled with values of length= 7. The function length() shows 7 for the content length.

I can't send the orginal database because that are personalized data. I make an example database.

Where should I put them out?
Re:Re:Re:equals fails
HXTT Support
2008-02-01 01:33:37.0
I guess that issue was an index issue. Please try to run once "reindex all on a", then your sql will be normal again.

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap