-- column comment조회 SELECT PS.RELNAME AS TABLE_NAME ,PA.ATTNAME AS COLUMN_NAME ,PD.DESCRIPTION AS COLUMN_COMMENT FROM PG_STAT_ALL_TABLES PS ,PG_DESCRIPTION PD ,PG_ATTRIBUTE PA WHERE PS.SCHEMANAME = 'wam' --AND PS.RELNAME = 'am_asst' AND PS.RELID = PD.OBJOID AND PD.OBJSUBID 0 AND PD.OBJOID = PA.ATTRELID AND PD.OBJSUBID = PA.ATTNUM ORDER BY PS.RELNAME, PD.OBJSUBID -- table comment 조회 SELECT C.RELN..
update t_am_asst as t set worktype_cd = tcc.cd from t_cm_code tcc, t_am_asst_fclty taaf where tcc.cd_nm = taaf.worktype_nm and tcc.grp_cd = 'WTYPE' and t.asst_sn = taaf.asst_sn set에 t.worktype.cd라고 쓰면 다음 에러가 발생한다. t.을 제거하고 하면 잘 실행된다. ERROR: 오류: "t" 칼럼은 "t_am_asst" 릴레이션(relation)에 없음 LINE 2: set t.worktype_cd = tcc.cd
jdbc.postgresql.org/download.html PostgreSQL JDBC Download Download About Binary JAR file downloads of the JDBC driver are available here and the current version with Maven Repository. Because Java is platform neutral, it is a simple process of just downloading the appropriate JAR file and dropping it into your cl jdbc.postgresql.org 위 사이트에서 jdbc로 검색 후 다운로드 다음 경로에 저장 C:\Users\user\workspace\post..
출처 : blog.billo.io/devposts/psql_at_time_zone/ 회사에서 PSQL 쿼리문을 작성하던 동료분이 이상한 부분이 있다며 불렀다. AT TIME ZONE 'Asia/Seoul' 을 사용했을 때와 AT TIME ZONE 'UTC+9' 를 사용했을 때 결과가 18시간이나 차이난다고 했다. PSQL의 timezone table. postgres=# SELECT * FROM pg_timezone_names WHERE abbrev='KST'; name | abbrev | utc_offset | is_dst ----------------+--------+------------+-------- Asia/Seoul | KST | 09:00:00 | f Asia/Pyongyang | KST ..
- Total
- Today
- Yesterday
- 여러 컬럼 update
- border-collapse
- devtools
- excel
- caniuse
- Javascript
- 진열사랑
- $.extend
- setter
- Keycode
- lombok
- draw.io
- ul li로 테이블
- DatePicker
- object key
- JQuery
- QueryDSL
- CSS
- @ExceptionHandler
- 프로젝트명변경
- 정규식
- PostgreSQL
- spring
- sumifs
- $.each
- springboot
- getter
- oracle
- 전후방탐색
- element위치
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |