>Leaving aside the fact, that whole complicated code is already written based on ALTER TABLE, how can I do this process for DBC's tables?
How about using something similar to this:
use MyTable
copy structure to TempAlterTable
alter table ...
use MyTable
zap
append from TempAlterTable
You would have to include a few more commands, of course; for instance, perhaps you might prefer to use sys(2015) instead of TempAlterTable.
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)