Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

HXTT DBF
Error with query on new driver versions
Juan D��az
2010-12-31 07:24:50.0
I have a SQL query that works with the driver version dated 2010-aug-12 06:21. The same query produces an error with newer version (tested 2010-nov-18 06:46 and 2010-dec-29 08:11).

The error is "Syntax error: Stopped parse at ELSE(id149).

I have simplified the query and the problem seems to be related to the use of the ELSE keyword. So the following query fails:

SELECT sum(CASE WHEN 1 THEN 1 WHEN 2 THEN 2 ELSE 3 END)
FROM table;

Error: Syntax error: Stopped parse at ELSE(id149)
SQLState: 2A000
ErrorCode: 172032

Thanks for your support.
Re:Error with query on new driver versions
HXTT Support
2010-12-31 09:24:13.0
Thanks. Fixed. Please download the latest package. BTW, Both of
[NOT] CASE WHEN expr THEN result [WHEN expr THEN result ...] [ELSE expr] END, CASE expr WHEN compare_expr THEN result [WHEN compare_expr THEN result ...] [ELSE result] END are supported.

Search Key   Search by Last 50 Questions




Google
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap