Answers for "postgres timestamp now default"

SQL
0

postgresql create table default value timestamp

CREATE TABLE `table_name`(
	`id` SERIAL PRIMARY KEY,
	`created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
	`modified_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
)
Posted by: Guest on September-23-2021
0

timestamp(0) postgresql

(now())::timestamp(0))
Posted by: Guest on January-09-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language