Adding a new column to a table in SQL
Today I found myself needing to add an extra column for a SQL table and I needed to do it using a script. For anyone out there reading this, it’s actually a pretty easy thing to do. This is what you have to write: [code lang="sql"]ALTER TABLE tblTable ADD NewCol INT NOT NULL CONSTRAINT Constraint_NewCol [...]
