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
- nmap
- create table
- nohup
- port forwarding
- kitura
- STF
- perfect
- rethinkdb
- nGrinder
- GoCD
- Jupyter
- ftp
- Jupyter Notebook
- mysql
- postgresql
- centos
- 28015
- openpyxl
- 실행권한
- Materials
- postgres
- PYTHON
- sshpass
- insert
- STF_PortForwarding
- appium server
- ubuntu
- appium
- ssh
- SWIFT
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