Search
 
SCRIPT & CODE EXAMPLE
 

SQL

how to create enum in postgreSQL

CREATE TYPE enum_name AS ENUM('value1', 'value2', 'value3');
Comment

create enum postgres

CREATE TYPE mood AS ENUM ('sad', 'ok', 'happy');
Comment

PREVIOUS NEXT
Code Example
Sql :: delete temp table if exists 
Sql :: mysql add to number 
Sql :: django mssql backend 
Sql :: install beautifulsoup from terminal 
Sql :: mysql query first character 
Sql :: delete dublicate rows sql 
Sql :: oracle drop index if exists 
Sql :: sql server get schema of table 
Sql :: how to select first row of database sql 
Sql :: mysql url 
Sql :: How to Find Duplicate Values in a SQL Table 
Sql :: change role postgres 
Sql :: mysql concatenate null 
Sql :: postgresql dump and restore db 
Sql :: connect to ssms with python 
Sql :: mysql database is not starting in xampp 
Sql :: cheatsheet for sql 
Sql :: show all tables postgres 
Sql :: get date from timestamp oracle 
Sql :: select nextval from sequence sql 
Sql :: begin transaction sql 
Sql :: restart sql server command line linux 
Sql :: remove user and their privileges postgres 
Sql :: oracle pagination query rownum 
Sql :: how to transfer pandas datafra,e to sqlite 
Sql :: date sql get the last week count 
Sql :: phone no data type in sql server 
Sql :: how to check grants on a package in oracle 
Sql :: CONVERT time string into 12 hours in sql 
Sql :: drop all tables in azure sql database 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =