MkyTaP - 開發筆記
主要工具: Linux, Python, SQL
Tuesday, January 3, 2017
SQL: add default value to column
ALTER TABLE Employee ADD CONSTRAINT DF_SomeName DEFAULT N'SANDNES' FOR CityBorn;
Reference:
How to set a default value for an existing column
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment