Please be aware that the SAP SQL Anywhere Forum will be shut down on August 29th, 2024 when all it's content will be migrated to the SAP Community.

when altering a table with one new column, pb8 was hanged and i close and reopen and again the same problem is coming, does any body know to solve this issue...

asked 25 Mar '13, 07:07

kvraman03's gravatar image

accept rate: 0%

edited 25 Mar '13, 07:44

Volker%20Barth's gravatar image

Volker Barth

ALTER TABLE ... ADD COLUMN requires an exclusive lock: all other transactions that are referencing the table must commit before the ALTER can proceed.

Also, in v7 the ALTER must rewrite all of the rows. If the table is large, it can take a significant amount of time. The exclusive lock is held the entire time so while the ALTER is in progress, all other connections that attempt to access the table will block.


permanent link

answered 25 Mar '13, 07:12

John%20Smirnios's gravatar image

John Smirnios
accept rate: 37%

Thank you john, it worked..

(25 Mar '13, 07:38) kvraman03
Your answer
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: 25 Mar '13, 07:07

question was seen: 2,259 times

last updated: 25 Mar '13, 07:44