Re: logical fields with defaults
От
David G Johnston
Тема
Re: logical fields with defaults
Дата
Msg-id
1409360422717-5816994.post@n5.nabble.com
Ответ на
logical fields with defaults (Jude DaShiell)
Список
Дерево обсуждения
logical fields with defaults Jude DaShiell <jdashiel@panix.com>
Re: logical fields with defaults David G Johnston <david.g.johnston@gmail.com>
Jude DaShiell wrote > How would one do a statement in a create table structure such that a > logical field was defined with a default value a user could change with > populating that table? Not syntax checked, look at the create table documentation if it doesn't work... CREATE TABLE tbl ( bool_field Boolean DEFAULT true ); Insert into tbl (bool_field) values (false); David J. -- View this message in context: http://postgresql.1045698.n5.nabble.com/logical-fields-with-defaults-tp5816951p5816994.html Sent from the PostgreSQL - novice mailing list archive at Nabble.com.
В списке pgsql-novice по дате отправления
От: David G Johnston
Дата: