| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- New Project
- json
- WM_CONCAT
- 호출
- unmashalling
- spring boot
- 초기데이터
- JExcel
- 인수배열
- 유용한 표현
- svn ignore
- 로우병합
- mput
- filed
- eclipse pliugin
- 카멜룰
- 구동하기
- Jackson
- 유용한사용법
- 유용한 코드
- XMLAGG
- plan_table
- put
- arguements
- Marshalling
- javascripts
- window7
- BiffException
- TypeReference
- camel rule
- Today
- Total
목록db/postgreSQL (2)
하루에 한가지
-- 컬럼 정보 조회.. with info as ( select '%%' table_catalog ,'%%' table_schema ,'%' table_name from dual ) ,t_cmmt as ( SELECT ps.schemaname as table_schema ,PS.RELNAME as table_name ,PD.DESCRIPTION AS TABLE_COMMENT FROM PG_STAT_USER_TABLES PS inner join PG_DESCRIPTION PD on PS.RELID = PD.OBJOID WHERE 1=1 and ps.schemaname = (select table_schema from info) and PS.RELNAME like '%'||(select table_name ..
DB 생성 db의 인코딩에 주위해야 한다. db connection 부터 인코딩을 탄다. public class Ping { public static void main(String[] args) throws ClassNotFoundException, SQLException { //String url = "jdbc:postgresql:postgres"; String url = "jdbc:postgresql://localhost:5432/Test"; String usr = "postgres"; String pwd = "1111"; Class.forName("org.postgresql.Driver"); Connection db = DriverManager.getConnection(url, usr, pwd); ..