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
- Materials
- openpyxl
- PYTHON
- nmap
- appium
- STF_PortForwarding
- STF
- kitura
- sshpass
- perfect
- ubuntu
- 28015
- ssh
- 실행권한
- nohup
- ftp
- SWIFT
- mysql
- Jupyter Notebook
- GoCD
- insert
- postgresql
- nGrinder
- postgres
- centos
- appium server
- port forwarding
- rethinkdb
- Jupyter
- create table
Archives
- Today
- Total
목록bulk insert (1)
don't stop believing
sql 파일 실행시키기
DB을 사용하다보면 간혹 대량의 데이터를 Insert하거나 많은 쿼리를 한꺼번에 처리해야 할 때가 있다.그럴때는 sql파일을 만들어서 처리하면 간단하다. sql 파일은 아래처럼 sql 쿼리를 작성하고 파일 확장자를 .sql로 한다. insert into words (word, means, example) values ('zoom through', '(~을) 획 통과하다', 'abcd'); insert into words (word, means, example) values ('zoom up', '(차가) 달려와 멈추다', 'qwer'); 위와같은 insert 쿼리가 몇 백개씩 처리해야 할 경우 word_insert.sql파일로 만들어서 처리한다.[openpyxl을 이용해서 sql 쿼리문 만들기] sql파..
Database/PostgreSQL
2017. 9. 27. 20:37