.sql

From wikieduonline
Jump to navigation Jump to search


-- Create extensions
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";

--
-- Create Users
--

-- Passwords should be random generated with 40 alphanumeric chars for each environment and stored in the correct vaults.
CREATE USER xxxx WITH PASSWORD 'xxxxxx';


--
-- Create Database and Schema
--

\c XXXXX
CREATE SCHEMA yyyyy;

SQL, NewSQL, RDMS: GraphQL (2015), SQLite, select, insert, select count, Distributed SQL, TablePlus, Cache hit ratio, pg_stat_user_tables, EXPLAIN, Index (PostgreSQL), DDL, SQL/MED, Group by, List users, SQL Injection, SQLAlchemy, CREATE USER, CREATE ROLE, EXPLAIN, ALTER DATABASE, REVOKE, NOLOCK, NOWAIT, EXISTS, Unique constraint, .sql

Advertising: