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 / 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
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

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 10 Nov '10, 07:39

question was seen: 764 times

last updated: 10 Nov '10, 07:39