Accessing Paradox using multiple SQL statements
|
new2this
|
I am accessing a Paradox (Version 7??) table remotely from a client application. For connectivity to the Paradox database, I've created a system DSN using the Intersolv 3.11 32-bit Paradox File driver. I have no problems accessing the table using a single "Select *" statement. But when trying to process the Paradox table using consecutive update/select/delete SQL statements containing 'where' clauses, the following error is displayed:
'keyword found more than once: Where'
Is there a way to resolve this?? Do I need a different version of the Intersolv driver that handles multiple SQL statements with 'where' clauses simultaneously??..Please advise
|
Posted 22 years ago (Thread Starter)
|
|
About new2this |
|
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
Email Not Verified!
Once email is verified, we will review and approve the account.
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #7638, 5 replies
Thread Started 9/23/2002 11:41:00 AM
View Counter=3308
Last Reply Posted 9/24/2002 10:35:00 AM)
|
|
|
Location=-- USA
|
|
|
|
Tony M
|
With what client application are you executing the sql statements, that are connecting to the Paradox tables?
Paradox the application, or another program?
You might try posting the actual sql statement so someone who knows sql might be able to debug it.
|
Posted 22 years ago
|
|
About Tony M |
|
Inactive member.
Member does not subscribe to this thread.
Post ID #7640 (Level 1.1)
Reply to 7638
Thread Started 9/24/2002 12:22:00 AM
View Counter=2
|
|
|
Location=
|
|
|
|
Tony M
|
Sorry, I know near nothing about SQL.
It just sounded like maybe you weren't using Paradox the program as the client, and I wanted to get that out in the open for anyone else who might be able to help.
There are various flavors of SQL, and which client application you are using might make a difference.
To be clear, can you tell us the name of the program your client systems are using? What programming language it is in?
|
Posted 22 years ago
|
|
About Tony M |
|
Inactive member.
Member does not subscribe to this thread.
Post ID #7642 (Level 1.2)
Reply to 7638
Reply Posted 9/24/2002 8:31:00 AM
|
|
|
Location=
|
|
|
Most Recent Post
|
Tony M
|
Actually, Paradox (the application) can directly update the Access table as it updates its own (Paradox) table format.
But my specific knowledge of this is limited. You use ODBC, and there are specific drivers that are better than others. I don't remember the details, and I'm not allowed to point you to the series of articles on how to do it.
Perhaps someone else has the info?
|
Posted 22 years ago
|
|
About Tony M |
|
Inactive member.
Member does not subscribe to this thread.
Post ID #7645 (Level 1.3)
Reply to 7638
Reply Posted 9/24/2002 10:35:00 AM
|
|
|
Location=
|
|
|
|
new2this
|
Jedstar: Thanks for replying back...The client is a program that uses an SQL panel that allows you to (1) enter SQL code, very much like MS Query or (2) enter a call to a stored procedure within a RDBMS database, such as Paradox. The SQL statements I'm using updates a flag on a table, then selects rows on that table by that same flag, and then deletes the rows on that table by yet the same flag. Below is the code I'm using: Update set flg = 'Y' where flg = 'N' Select * from where flg = 'Y' Delete from where flg = 'Y'
If possible, I wouldn't mind calling a procedure from the Paradox database that can perform this same SQL, as long as a result set is returned from the Paradox database. As I said before, when I perform a single "Select * from where flg = 'N'", rows are being returned to the client program with success. It's only when I add the "Update..where" and "Delete...where" that I'm having a problem. Can you provide a sample Paradox procedure that can perform the Update/Select/Delete for me?? Please advise..
Posted 22 years ago (Thread Starter)
|
|
About new2this |
|
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
Email Not Verified!
Once email is verified, we will review and approve the account.
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #7641 (Level 1.4)
Reply to 7638
Reply Posted 9/24/2002 7:16:00 AM
|
|
Location=-- USA
|
|
|
new2this
|
It's enterprise integration java based software using adapter technology, basically a way to exchange data between disparate applications within a network. The Paradox application I'm working with is one of 2 applications that I'm trying to exchange data between. But, I have another alternative...
Since my client application can call a stored procedure in ACCESS, is it possible for a Paradox record to be inserted into an ACCESS table via OLE?? If so, can the insert to an ACCESS table happen instantaneuosly when an add/update to a Paradox record occurs by a Paradox front-end application? In other words, if a user of a Paradox front-end application updates/adds a record in a Paradox table, can that same record be inserted into an ACCESS table by way of OLE?? Please advise...
|
Posted 22 years ago (Thread Starter)
|
|
About new2this |
|
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
Email Not Verified!
Once email is verified, we will review and approve the account.
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #7644 (Level 1.5)
Reply to 7638
Reply Posted 9/24/2002 10:06:00 AM
|
|
|
Location=-- USA
|
|
Revive Thread!
Add a comment to revive this old thread and make this archived thread more useful.
Thread #7638 Counter |
3308 |
Since 4/2/2008
|
|
Regarding...
Linked Knowledge Base Article.
This thread is linked to the following KB article.
|
|
|
|
Go ahead! Use Us! |
Call: 916-726-5675 |
Or visit our new sales site: www.prestwood.com |
|
|
|
CONTACT US:
Office Hours: 8am-5pm | Mon thru Fri
916-726-5675 (office)
916-726-5676 (fax)
916-595-5675 (text msg)
8421 Auburn Blvd, STE 256
Citrus Heights, CA 95610
|
| |