I need to generate an SQL script from my MS SQL Server database. In that end, I used the "Generate scripts..." tool provided by SQL Server Management, which worked.
However for one single table, some of the fields are not included in the CREATE TABLE statement. Some of them are added afterwards using ALTER TABLE XXX ADD YYY statements.
How can I ensure that all the fields are included in the CREATE TABLE statements ?