[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 244
  • Last Modified:

Cached updates

Hi

I have a query on a database on another computer.
I first call query.delete to delete a record (with conflicting index values) and then use batchmove to copy a record to the database.
This gives me a unique index error, when both databases are on the same computer there is no error.
Can this be caused by cached updates?
CachedUpdates for the query is false.
Will it help if I use query.refresh applyupdates commitupdates after calling query.delete ?
0
sorentop
Asked:
sorentop
  • 2
  • 2
1 Solution
 
FrodoBegginsCommented:
What is your database? Try commiting the transaction (Database.Commit;)
Also try wit the BDE alias parameters (if you use BDE). Try changing the values of SQLQRYMODE and SQLPASSTHRU MODE. And the CACHE-related parameters also.

Rgds,
Frodo
0
 
sorentopAuthor Commented:
it is interbase
0
 
sorentopAuthor Commented:
It turns out to be something else, but I guess you don't mind that I accept the question anyway
0
 
FrodoBegginsCommented:
No problem :)
I'm sory, but I'm unfamiliar with interbase. My answer was about Oracle, SQL, etc. Thanks, anyway :)

Rgds,
Frodo
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now