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 | 31 |
Tags
- port
- mssql
- pandas
- 맛집
- Linux
- tensorflow
- GIT
- sqlite
- flutter
- IOS
- PyQt
- 유니티
- Excel
- MS-SQL
- MySQL
- PyQt5
- 함수
- ASP
- ubuntu
- node.js
- python
- swift
- urllib
- 날짜
- 리눅스
- 라즈베리파이
- PER
- 다이어트
- Unity
- javascript
Archives
목록2018/10/22 (1)
아미(아름다운미소)
sqlite3 레코드 추가/수정/삭제
sqlite3 레코드 추가/수정/삭제시 Connection의 commit()함수 호출 # -*- coding:utf-8 -*- import sqlite3 conn = sqlite3.connect('test.db') conn.text_factory = str cursor = conn.cursor() cursor.execute(""" INSERT INTO testtable (NAME, PHONE, EMAIL) VALUES(?, ?, ?) """, ("테스트1", '010-3333-5555', 'aaa@naver.com')) id = cursor.lastrowid print(id) cursor.execute(""" INSERT INTO testtable (NAME, PHONE, EMAIL) VALUES(?, ..
데이타베이스/SQLite
2018. 10. 22. 17:13