Postgresql Create Table Default Value Timestamp

[Solved] Postgresql Create Table Default Value Timestamp | Sql - Code Explorer | yomemimo.com
Question : postgresql create table default value timestamp

Answered by : harendra

CREATE TABLE `table_name`(	`id` SERIAL PRIMARY KEY,	`created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,	`modified_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
) 

Source : | Last Update : Thu, 30 Sep 21

Answers related to postgresql create table default value timestamp

Code Explorer Popular Question For Sql