!--a11y-->
Examples for In-Place Alter Table 
This example relates to
Solving Problems with In-Place Alter Table. The following output is from oncheck -pT :Home Data Page Version Summary | |
Version |
Count |
0 (current) |
25 |

The first column shows the versions of the table that exist and the second column shows the number of pages that exist in this version.
alter table a005 modify field1 char(6) default '00000' not null
Home Data Page Version Summary | |
Version |
Count |
0 (oldest) |
25 |
1 (current) |
0 |
There are now two versions of the table but all pages still exist in the original version.
Home Data Page Version Summary | |
Version |
Count |
0 (oldest) |
23 |
1 (current) |
2 |
Due to the update, two pages have now been converted to the current table version.
Home Data Page Version Summary | |
Version |
Count |
0 (oldest) |
23 |
1 |
2 |
2 (current) |
0 |
There are now three versions of the table. Most pages still exist in the original version, some exist in version 1 but none exist yet in the current version.
Home Data Page Version Summary | |
Version |
Count |
0 (oldest) |
23 |
1 |
1 |
2 (current) |
1 |
update a005 set field1 = field1
Home Data Page Version Summary | |
Version |
Count |
0 (oldest) |
0 |
1 |
0 |
2 (current) |
25 |
Due to the update, all pages have now been converted to the current version.