The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.

SA 10.0.1.4116 / Win64 + mirroring.

An attempt to delete foreign key fails with the following message:

[Sybase][ODBC Driver][SQL Anywhere]User 'fk_dividend_received_store' has the row in '???' locked
SQLCODE: -210
SQLSTATE: 40001
SQL Statement: ALTER TABLE "DBA"."dividend_received" DROP FOREIGN KEY "fk_dividend_received_store"

I see no locks on dba.dividend_received. Don't know if it is a duplicate of this issue or has anything to do with undroppable connections... any insight is welcome :).

asked 10 Nov '10, 07:39

Dmitri's gravatar image

Dmitri
1.5k41132
accept rate: 11%

There's nothing that looks right about that message, assuming you don't actually have a user named "fk_dividend_received_store"... alas, it's time to call tech support. Have you run dbvalid?

(10 Nov '10, 08:54) Breck Carter
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×113
×12

question asked: 10 Nov '10, 07:39

question was seen: 764 times

last updated: 10 Nov '10, 07:39