반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Python
- array
- PANDAS
- Google Spreadsheet
- django
- hive
- matplotlib
- math
- Kotlin
- gas
- Java
- Tkinter
- GIT
- string
- 파이썬
- Apache
- PostgreSQL
- numpy
- list
- google apps script
- Excel
- c#
- PySpark
- Google Excel
- Mac
- SQL
- Redshift
- Github
- dataframe
Archives
- Today
- Total
달나라 노트
Redshift : svv_all_schemas (Database에 있는 schema 종류 보기) 본문
728x90
반응형
Database에 존재하는 모든 schema와 각 schema에 대한 정보를 얻기 위해선 아래 쿼리를 사용하면 됩니다.
select *
from svv_all_schemas
;
그러면 결과로
database_name, schema_name, schema_owner 등 schema에 대한 다양한 정보를 얻을 수 있습니다.
728x90
반응형
'SQL > Redshift' 카테고리의 다른 글
Redshift : current_database (현재 database 이름 출력) (0) | 2024.04.04 |
---|---|
Redshift : current_user (현재 사용중인 user id 출력) (0) | 2024.04.04 |
Redshift : to_timestamp() (timestamp로 변환) (0) | 2023.10.10 |
Redshift : next_day() (다음 특정 요일의 날짜) (0) | 2023.09.20 |
Redshift : json_extract_array_element_text() (Redshift에서 array indexing하기, array 선택하기, array 값 추출) (0) | 2023.08.04 |