Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.252
  HXTT Cobol 5.0.251
  HXTT DBF 7.1.252
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel 6.1.255
  HXTT Json 1.0.223
  HXTT Paradox 7.1.251
  HXTT PDF 2.0.251
  HXTT Text(CSV) 7.1.251
  HXTT Word 1.1.251
  HXTT XML 4.0.252
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
using cdx index dbf
jose huaraya
2012-02-28 12:47:22
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
>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
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
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




Google
 

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