Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v2.1
  HXTT DBF v5.2
  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 ACCESS
Exception querying tables with AUTONUMBER fields
Kevin Shih
2007-02-04 22:28:31.0
Running following query "select ID, CallID, StartTime, EndTime, CallNote, BillingCode, Extension, Duration, CallType, DialedNumber, CallerID from Call where ID > ? order by ID". Exception thrown is:

<37> <>
java.sql.SQLException: Syntax error: Stopped parse at Call
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.a.b.a(Unknown Source)
at com.hxtt.a.b.a(Unknown Source)
at com.hxtt.a.b.g(Unknown Source)
at com.hxtt.sql.bm.m(Unknown Source)
at com.hxtt.sql.ag.if(Unknown Source)
at com.hxtt.sql.de.(Unknown Source)
at com.hxtt.sql.bm.a(Unknown Source)
at com.hxtt.sql.bm.prepareStatement(Unknown Source)
at com.hxtt.sql.bm.prepareStatement(Unknown Source)
at com.hxtt.sql.bm.prepareStatement(Unknown Source)
at com.syncvoice.databuffer.input.JdbcInput.processPendingRecords(JdbcInput.java:454)
at com.syncvoice.databuffer.input.JdbcInput.processConnection(JdbcInput.java:244)
at com.syncvoice.databuffer.input.RunnableInput.run(RunnableInput.java:161)
at com.syncvoice.commons.lang.Thread$MyRunnable.run(Thread.java:38)
at java.lang.Thread.run(Thread.java:595)

Can run similar statements against tables in same database that do not have AUTONUMBER field as primary key and query runs fine. Any suggestions?
Re:Exception querying tables with AUTONUMBER fields
HXTT Support
2007-02-05 00:51:31.0
It hasn't any relation with AUTONUMBER column. CALL is a reserved word in SQL 99. You can try:
select ID, CallID, StartTime, EndTime, CallNote, BillingCode, Extension, Duration, CallType, DialedNumber, CallerID from "Call" where ID > ? order by ID
Re:Re:Exception querying tables with AUTONUMBER fields
Kevin Shih
2007-02-05 01:32:05.0
That was it, thanks!

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