Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v6.0
  HXTT Cobol v3.0
  HXTT DBF v6.0
  Buy Now
  HXTT Excel v5.0
  HXTT Paradox v6.0
  HXTT Text(CSV) v6.0
  HXTT XML v2.0
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 Beijing 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


Copyright © 1999-2017 Heng Xing Tian Tai Lab of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap