Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.0
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
index problem
Patrick
2007-11-14 15:42:11
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
>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
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
>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
>> 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
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
 

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