Hi
In SQL Server 2000
How to add a New column (c1) to the existing Table (T1) with default value as 0 and by allowing NULLs.
Please advice
Thanks
See this thread from a few days ago:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1890218&SiteID=1
The 'search' function is a very good thing.
|||Thanks
I found the answer. i.e.,
Code Snippet
ALTER TABLE T1 ADD C1 int NOT NULL DEFAULT (0)
No comments:
Post a Comment