I am trying to alter a table by adding a column in the middle of a table [ Instead of adding a column at the end].
Please check the below options, I am clear about option 1. I need some clarity on option 2.
Option 1 : Adding a column at the end --> I am able to generate alter script for the new column.
Option 2 : Adding a column in the middle of a table --> Alter scripts drops the table and it recreates the table again with the new column in the middle of a table.
- Does TDM has a feature of generating alter script by adding a column in the middle of a table ?
- If I add a column in the middle of a table, alter script should generate as below [ This script is written manually ]
Syntax - ALTER TABLE “Test_Table” ADD COLUMN “is_reject” TINYINT(1) UNSIGNED DEFAULT 0 NOT NULL AFTER “cleared_by”;