logo-MindMajix
L
Lakshmi sowjanya

Posted on 26th July 2024|44 views

0
votes

Postgres Enum

What is Enumeration data type in PostgreSQL?

1 answers
Answers
P
Athiq mohd

Posted on 26th July 2024| views

Enumeration(Enum) data type is an ordered and static collection of a set of data as it is same in all the other types of programming languages.

Syntax or Example:

CREATE TYPE Table_name AS ENUM ('samyuk', 'aroni', 'Yadav');

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo

  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos
Name
Course *
Email *
Phone Number