HomeForum
Welcome, Guest

SQLite and Pragmas to query the database schema
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: SQLite and Pragmas to query the database schema

SQLite and Pragmas to query the database schema 1 year, 6 months ago #1211

  • htome
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hi everyone,

After connecting to a SQlite database, how do I run query for "PRAGMA user_version".

I tried using the "SQl Statement" and run it but it returns nothing.

www.sqlite.org/pragma.html

Thanks

Re: SQLite and Pragmas to query the database schema 1 year, 6 months ago #1214

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2183
  • Karma: 12
What did you expect to see?

I could be wrong but according to the documentation, even if pragma is wrong it will not return anything or report an error

# Specific pragma statements may be removed and others added in future releases of SQLite. There is no guarantee of backwards compatibility.
# No error messages are generated if an unknown pragma is issued. Unknown pragmas are simply ignored. This means if there is a typo in a pragma statement the library does not inform the user of the fact.

Mike
  • Page:
  • 1
Time to create page: 0.15 seconds

Testimonials

"This [Visual Importer ETL] is such a great help. As expected, it has paid for itself within one week!"

Phill Stive,
Oracle DBA, OU,
Newcaste

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top