How can I add a column that doesn't allow nulls in a Postgresql database?

后端 未结 8 1856
我在风中等你
我在风中等你 2020-12-07 09:08

I\'m adding a new, \"NOT NULL\" column to my Postgresql database using the following query (sanitized for the Internet):

ALTER TABLE mytable ADD COLUMN mycol         


        
8条回答
提交回复
热议问题