INSERT1 [postgreSQL] 사용자, DB, schema, table 생성 및 문법 1. 사용자 생성create user {user_id} password {pw} {superuser/nosuperuser}; 2. DB 생성create database {local_db} owner {user_id};User_id 계정으로 DB 오너 만들기. 3. Schema 생성create schema {local_schema}; 4. Table 생성create table {local_schema}.{table_name}( id Integer primary key, type Varchar(50) not null, reg_date Timestamp not null, start_time Timestamp, end_time Timestamp constraint start_end c.. 2024. 5. 20. 이전 1 다음