1.

Is it possible for you to alter the table (adding a column to it) while some other person is accessing the table and even updating some values in it?

Answer»

To be short and CRISP, the answer is yes, we can alter the table at the same time when some other transaction is taking place but this does not exactly happen as it SOUNDS to be.

The DB2 table will not change its structure in any form till a transaction or MULTIPLE TRANSACTIONS are taking place. The table-altering commands will be stored by the database engine and will not be executed till all the transactions are complete. After one user has MODIFIED the values in the table, then the column will be added.



Discussion

No Comment Found