Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.081
  HXTT Cobol 5.0.081
  HXTT DBF 7.1.081
  Buy Now
  HXTT Excel 6.1.085
  HXTT Json 1.0.053
  HXTT Paradox 7.1.081
  HXTT PDF 2.0.081
  HXTT Text(CSV) 7.1.081
  HXTT Word 1.1.081
  HXTT XML 4.0.082
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)

using cdx index dbf
jose huaraya
2012-02-28 12:47:22.0
hi: i have a fox 2.6 database with cdx indexes as show bellow:
key: dtoc(us_birth,1)+us_name+us_prof
so in fox i can do this query "select * from database where dtoc(us_birth,1)+us_name+us_prof='2012'", but using HXTT DBF V. 3 doesn't work, what i'm doing wrong.
Please could you help me
Re:using cdx index dbf
HXTT Support
2012-02-28 17:09:27.0
>select * from database where dtoc(us_birth,1)+us_name+us_prof='2012'
select * from database where dtoc(us_birth,1)+us_name+us_prof like '2012%'
Then HXTT DBF will utilize index to get your result.
Foxpro's syntax is not standard SQL syntax. = means == in SQL.
Re:Re:using cdx index dbf
richard quispe
2012-02-29 12:39:18.0
hi: i was trying also with 3.0v but does not support '%', how can i solve this problem
Re:Re:Re:using cdx index dbf
HXTT Support
2012-02-29 16:46:03.0
Do V3.0 means HXTT DBF JDBC 3.0 packge v5.1? In my test, it supports your sql sample.

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