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
index problem
Patrick
2007-11-14 15:42:11.0
If I set the property loadIndices to true I get the following error.

java.sql.SQLException: Can't parse index expression UPPER(table)

'table' here is a column name from a legacy database.

This is on a Visual FoxPro database (not sure of the version 7-9).
Re:index problem
HXTT Support
2007-11-14 20:40:59.0
>java.sql.SQLException: Can't parse index expression UPPER(table)
table is a reserved word in sql. Maybe you can consider removing that index file.
Re:Re:index problem
Patrick
2007-11-15 14:23:12.0
I can't.
I'm accessing a legacy database which I cannot change.

Couldn't the index parsing expression code be updated to automatically quote all column references?
Re:Re:Re:index problem
HXTT Support
2007-11-19 07:15:44.0
>I'm accessing a legacy database which I cannot change.
Then we have to modify sql engine to allow table as column name if it's necessary. Why there're a table column in a table?

>Couldn't the index parsing expression code be updated to automatically quote all column references?
Yeah. It can
Re:Re:Re:Re:index problem
Patrick
2007-11-21 10:02:47.0
>> I'm accessing a legacy database which I cannot change.
> Then we have to modify sql engine to allow table as column
> name if it's necessary. Why there're a table column in a table?

The table is called 'sysgenpk' and it has two columns 'table' and 'currant'.
It appears that there is a row for each table in the database which
contains the next primary key for that table.

>> Couldn't the index parsing expression code be updated to automatically
>> quote all column references?
> Yeah. It can

Great!
Re:Re:Re:Re:Re:index problem
Patrick
2007-11-21 10:28:27.0
I've found another table with an index parsing problem.

The table is called 'rsloddtl' and it has a column named 'drop' and an index expression "drop".

This stands for Routing/Shipping Load Detail and this is a "trucking drop" rather than an "sql drop".

Without quoting the index expression 'drop' will cause obvious problems as well.

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