Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.188
  HXTT Cobol 5.0.188
  HXTT DBF 7.1.189
  Buy Now
  HXTT Excel 6.1.192
  HXTT Json 1.0.160
  HXTT Paradox 7.1.188
  HXTT PDF 2.0.188
  HXTT Text(CSV) 7.1.188
  HXTT Word 1.1.188
  HXTT XML 4.0.189
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)

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 © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap