Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.131
  HXTT Cobol 5.0.131
  HXTT DBF 7.1.132
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel 6.1.135
  HXTT Json 1.0.103
  HXTT Paradox 7.1.131
  HXTT PDF 2.0.131
  HXTT Text(CSV) 7.1.131
  HXTT Word 1.1.131
  HXTT XML 4.0.132
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
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
 

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