DataBases

Postgresql 접근, 삭제, 생성, 조회 데이터 베이스 접근 psql postgres psql -U username -d dbname 데이터베이스 목록 조회 \l 그 외 조회 기능 더보기 \dt : database 내 table 조회 \d+ : relation 상세 조회 \dS : System table 조회 \dv : view 조회 \dl : Large object 조회 \di : index 조회 \df : function(함수) 조회 \dn : schema 조회 데이터 베이스 생성 CREATE DATABASE dbname; 데이터 베이스 삭제 DROP DATABASE dbname; 출처 - postgresql 공식 문서 https://www.postgresql.org/docs/current/in..
Jong_seoung
'DataBases' 카테고리의 글 목록