I got a database with 200 plus tables.
Now I need a SQL script to find & convert all "nullable Int" to "nonnullable Int" columns (assume database is empty).
I know it can be done manually one by one
ALTER TABLE myTable
ALTER COLUMN myColumn {DataType} NOT NULL DEFAULT(0)
But I think there should be better way to do this, and it will be great help if you can suggest one.