Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v5.0
  HXTT DBF v7.1
  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 ACCESS
Exception querying tables with AUTONUMBER fields
Kevin Shih
2007-02-04 22:28:31
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
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
That was it, thanks!

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