Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

alter table add column with default value

ALTER TABLE Protocols
ADD ProtocolTypeID int NOT NULL DEFAULT(1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #alter #table #add #column #default
ADD COMMENT
Topic
Name
2+9 =