Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Regarding Sqlite Query To Retrieve Database Names

    General and Desktop
    2
    2
    334
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Pradeep Kumar
      Pradeep Kumar last edited by

      Hi.

      can anyone tell me the query to get the database names from QSqlite database.

      i tried with

      @Select * from sqlitemaster;
      which didnt work, can anyone suggest me the answer.

      Pradeep Kumar
      Qt,QML Developer

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        That's rather a sqlite question. You should rather ask that on their forum.

        In any case, AFAIK, for sqlite, each file is a database so the name of the database is the file name.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 1
        • First post
          Last post