parsed.org
Inserting All Default Values by cygnus on Jul 28, 2005 12:08 PM

If you have a table 'mytable' whose columns all have default values defined and you want to insert a record using all default values, run this query:

INSERT INTO mytable DEFAULT VALUES;
defaultsinsertpostgresqlsql
RSS