Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan 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
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap