adspace


How to create table with timestamp in postgres?

Answer Posted / Harmesh Singh

To create a table with a timestamp column in PostgreSQL, you can use the following syntax:n`nCREATE TABLE your_table_name (n column1 data_type constraint,n n timestamps timestamp DEFAULT now() NOT NULL,n n);n`

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the latest version of postgresql?

959