joeblogs.ie
Useful feature to add column to a table with a default value:
ALTER TABLE MYTABLE
ADD [MYNEWCOL] INT NOT NULL DEFAULT 0
Tags: t-sql
SQL Server
Related posts
Powered by BlogEngine.NET 1.5.0.7 Theme by Mads Kristensen