Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
  Buy Now
  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)

char field in where clause
2015-04-03 17:39:41.0
Take this example query:

FROM table
WHERE colA = 'B1234567xxxx'

in Foxpro table, the colA is set to CHAR(8) and 'B1234567' exists

In MSFT ODBC driver this will return the record, but in Hxtt driver it seems to ignore anything after the 8 char and will also return the record.

Is this supposed to happen? (i.e. feature or a bug?)
Re:char field in where clause
HXTT Support
2015-04-04 06:41:30.0
>Is this supposed to happen? (i.e. feature or a bug?)
A feature simulated Foxpro CDX index, but discarded according to SQL standard .
Re:Re:char field in where clause
2015-04-04 08:25:40.0
Ah, thank you. Our experience is in SQL, so there is a bit of a learning curve in trying to bridge these 2 eras of db design! We shall handle this difference at the model validation level then.

Search Key   Search by Last 50 Questions


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