1
SQLite 설명서 읽기 값을 반환하거나 설정할 수있는 Pragma가 있다는 것을 알았습니다. 나는 Pragma table_info (tablename)과 Pragma page_size를 사용하고 싶다. Vb.net 프로그램 내에서 두 개의 pragma에서 각각 열과 페이지 크기 목록을 얻으려면 어떻게해야합니까?vista.net에서 값을 반환하는 SQLITE
편집 : 여기
가 정보를 얻을 것이다 코드, 그냥 누군가Dim temp = New DataTable
temp.Clear()
Using oMainQueryR As New SQLite.SQLiteCommand
oMainQueryR.CommandText = ("PRAGMA table_info(yourtablename)")
Using connection As New SQLite.SQLiteConnection(conectionString)
Using oDataSQL As New SQLite.SQLiteDataAdapter
oMainQueryR.Connection = connection
oDataSQL.SelectCommand = oMainQueryR
connection.Open()
oDataSQL.Fill(temp)
connection.Close()
End Using
End Using
End Using
결과 데이터 테이블 행의 열 및 정보가에 편리하게 올 수 있다는 생각했다.