Skip to Content
author's profile photo Former Member
Former Member

Failed to retrieve data from database - DataDirect Paradox

Crystal Reports 12.1.0.892

Windows XP SP3

DataDirect ODBC Driver for Paradox 5.30.00.23

Paradox 5 database

When I run the following query against two tables:

SELECT `Ticket1a`.`PatronID`, `PHONELIN`.`PhoneNumber`

FROM `PHONELIN` `PHONELIN` INNER JOIN `Ticket1a` `Ticket1a` ON `PHONELIN`.`PatronID`=`Ticket1a`.`PatronID`

I get the following error:

Failed to retrieve data from the database

Details: 42000: DataDirect ODBC Paradox driver Extra characters at end of query: INNER. Database VendorCode: 3902

The SQL tracing log can be found at http://188.grandtheater.org/sql.log

Can anyone tell me what is going on here and how I can get around it?

TIA

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 17, 2008 at 10:36 PM

    I think something wrong in the syntax even though it is correct the drivers shows some error at INNER.

    What happens if you try using this syntax?

    SELECT `Ticket1a`.`PatronID`, `PHONELIN`.`PhoneNumber`

    FROM `PHONELIN` `PHONELIN` , `Ticket1a` `Ticket1a` where `PHONELIN`.`PatronID`=`Ticket1a`.`PatronID`

    Regards,

    Raghavendra

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.