Skip to content

Microsoft.Data.Sqlite: Support ATTACH-ed databases #23587

Description

@bricelam

I'm noticing that a lot of our code (especially around PRAGMAs) won't work with ATTACH-ed databases. We should add more coverage and fix the bugs we find in this area.

Activity

  1. self-assigned this
    on Dec 4, 2020
  2. added this to the Backlog milestone on Dec 7, 2020
  3. bricelam commented on Dec 7, 2020

    @bricelam
    ContributorAuthor

    As part of this work, we should also look for places where we assume the name of the main database. SQLite version 3.15.0 added the ability to change it:

    sqlite3_db_config(db, SQLITE_DBCONFIG_MAINDBNAME, "not-main");
  4. removed their assignment
    on Jul 8, 2023
  5. changed the title [-]Microsoft.Data.Sqlite: Bugs around ATTACH-ed databases[/-] [+]Microsoft.Data.Sqlite: Support ATTACH-ed databases[/+] on Dec 10, 2023
  6. added theissue type on Jun 15, 2025
  7. AndriySvyryd commented on Oct 12, 2026

    @AndriySvyryd
    Member

    As part of this work, we should add support for attached databases to GetSchema()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions