1. 다운로드 ( 현재 Version : SQLite 3.7.12 )
2. 설치하고자 하는 위치에 폴더 생성 후 압축을 풀면 됩니다.
3. SQLite Expert Personal 다운
4. Command 창에서 sqlite3.exe를 실행하면 됨.
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
32
33
34
35
36
37
38
| C:\SQLite3>sqlite3 test.db SQLite version 3.7.12 2012-05-14 01:41:23 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> . database seq name file --- --------------- ---------------------------------------------------------- 0 main C:\SQLite3\test.db sqlite> create table test ( no integer primary key autoincrement, title text, date text); sqlite> . table test sqlite> insert into test(title, date ) values ( 'vidio' , '2012-05-17-12-36' ); sqlite> select * from test; 1|vidio|2012-05-17-12-36 sqlite> .header on sqlite> .mode column sqlite> select * from test; no title date ---------- ---------- ---------------- 1 vidio 2012-05-17-12-36 sqlite>.exit C:\SQLite3>dir/w C 드라이브의 볼륨에는 이름이 없습니다. 볼륨 일련 번호: C824-07F1 C:\SQLite3 디렉터리 [.] [..] sqlite-dll-win32-x86-3071200.zip sqlite-shell-win32-x86-3071200.zip sqlite3 sqlite3.def sqlite3.dll sqlite3.exe test.db 7개 파일 1,658,734 바이트 2개 디렉터리 28,745,773,056 바이트 남음 |
- 기타
====================================================
내부명령어와 관련된 도움말은 '''.help'''를 입력하는 정도로 간단히 참조할 수 있다.
====================================================
내부명령어와 관련된 도움말은 '''.help'''를 입력하는 정도로 간단히 참조할 수 있다.
- .databases : 현재 작업중인 DB파일과 관련된 다른 파일들 목록 출력
- .echo ON|OFF : 명령어를 반향 할건지 여부
- .exit : 프로그램 종료
- .help : 도움말
- .schema ?TABLE? : 테이블 구조
- .show : 현재 프로그램 설정값을 보여준다.
- .read FILENAME : FILENAME으로 부터 SQL을 실행한다.
- .output FILENAME : 출력을 FILENAME으로 보냄
- .output stdout : 출려을 화면으로 보냄(기본 값)
- .output stdout : 출려을 화면으로 보냄(기본 값)
5. SQLite Expert Personal 실행
댓글 없음:
댓글 쓰기