SQLITE and PRAGMA

fatman

Active Member
Licensed User

fatman

Active Member
Licensed User
Hi Erel,

I´m using Andoid 3.1 and the error message is:

android.database.sqlite.SQLiteException: unknown error: Queries can be performed using SQLiteDatabase query or rawQuery methods only.

The logs shows more or less the same.

Fatman
 
Upvote 0

Mahares

Expert
Licensed User
You can do this:
B4X:
Dim MyJournal As String
MyJournal=SQL1.ExecQuerySingleResult("PRAGMA Journal_mode") 
Log("Myjournal: " & MyJournal)  'displays the mode type of your database
 
Upvote 0
Top