Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.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 Xi'an City (abbr, HXTT)

HXTT DBF
char field in where clause
Andrew
2015-04-03 17:39:41
Take this example query:

SELECT *
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
>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
Andrew
2015-04-04 08:25:40
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




Google
 

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