2011-03-17 3 views
4

sqlite에서 사용 가능한 모든 테이블의 목록을 프로그래밍 방식으로 가져올 수 있습니까?프로그래밍 방식으로 sqlite의 모든 테이블 목록을 가져 오는 방법

+0

@MaheshBabu 근무 : Jhaliya의 대답은 나를 따라 올 바릅니다. 그러니 그걸 시험해보십시오. –

+0

[ATTACH로 연 SQLite 데이터베이스 파일의 테이블을 나열하는 방법] (http://stackoverflow.com/questions/82875/how-to-list-the-tables-in-an-sqlite) -database-file-that-opened-with-attach) – KeksArmee

답변

14

이 시도 :

SELECT * FROM sqlite_master where type='table' 
2

SELECT * FROM sqlite_master where type='table' 
관련 문제