To execute an INSERT without values in a PostgreSQL table, you can use the following syntax:
INSERT INTO table_name DEFAULT VALUES;
This will insert a single row into the specified table with default values for all columns. If any columns in the table have default values defined, those values will be used. If not, the default value for each column will be NULL.
Asked: 2022-02-07 11:00:00 +0000
Seen: 10 times
Last updated: Jul 11 '21