Kategorien anzeigen

So verbinden Sie SQLite mit Google Sheets – Streamen Sie Live-Daten aus einer schlanken Datenbank

Verbindung · SQLite mit Google Sheets

Daten von einem abrufen SQLite Datei in Google Sheets

Öffnen Sie Ihre SQLite-Datenbank in Google Tabellen und aktualisieren Sie sie, wann immer Sie möchten. Kein CSV-Upload, kein Apps Script, kein Kopieren und Einfügen. Beim ersten Mal dauert es etwa zehn Minuten, und das ist im kostenlosen Plan enthalten.

Ungefähr 10 Minuten Keine Programmierung erforderlich Die Datei bleibt an ihrem Speicherort. Jeder Browser, jedes Gerät
Sie kommen an irgendeiner Stelle nicht weiter? Fragen Sie uns einfach. Öffnen Unterstützung Gehen Sie zu „Abfrageströme“ (Menü oben rechts → Support) und senden Sie uns eine Nachricht. Echte Menschen lesen sie, und „Ich verstehe nicht, was dieser Bildschirm von mir verlangt“ ist eine völlig berechtigte Frage.

Was am Ende dabei herauskommt

SQLite-LogoEin Google Sheet, das die Live-Ergebnisse einer SQL-Abfrage für Ihre SQLite-Datei anzeigt, mit einer Schaltfläche, die bei jeder Datenänderung die neuesten Zeilen abruft. Zum Beispiel so:

SQLite-Datenbanken bestehen aus einzelnen Dateien, die üblicherweise die Endung . haben. .db, .sqlite, .sqlite3Google Tabellen kann diese Dateien gar nicht öffnen. Die übliche Lösung besteht darin, eine CSV-Datei zu exportieren und sie bei jeder Datenänderung erneut hochzuladen. Query Streams umgeht diesen Schritt: Ein kleines Hilfsprogramm liest die Datei an ihrem Speicherort, und ein Google Tabellen-Add-on fragt die gewünschten Zeilen ab. Beide Programme müssen sich nicht auf demselben Computer befinden. Die Datei kann sich auf dem Bürorechner befinden, und Sie können von überall aus darauf zugreifen: mit jedem Browser auf jedem Gerät.

WO DIE DATEI BELIEBTBürocomputer, Server oder der Computer zu HauseIhre SQLite-Dateisales.db · bleibt hierAbfrage-Streams-Agentwhere it can open the fileAbfrageströmeverschlüsselter Linküber das Internet · nur ErgebnisseWO IMMER DU BISTJeder Browser: Laptop, Tablet, Smartphone, ChromebookGoogle SheetsDie Zeilen kommen auf einem Blatt an
The Agent runs where it can open the file. Your sheet lives in Google’s cloud. Open it anywhere and the rows come to you.

Was Sie benötigen

Ein Query Streams-Konto

Für diesen Leitfaden reicht der kostenlose Tarif aus. Melden Sie sich an unter mein.querystreams.de.

The Agent on a computer that can open the file

Ein kleines Programm, das im Hintergrund läuft und die Datei einliest, wenn Google Sheets danach fragt. Schritt 2 unten zeigt, wo Sie es finden.

Ihre SQLite-Datei

Wissen, wo es ist, zum Beispiel C:\Data\sales.db oder \\server\share\sales.db. If it lives in OneDrive, Dropbox or Google Drive, make sure it is synced to the Agent’s computer.

Welcher Computer erhält den Agenten? The one where the file is, or one that can open it from a network share (see Reaching a file on a network share below). That computer needs to stay on. Google Sheets kann überall seinEs läuft in Ihrem Browser, sodass an der Stelle, an der Sie die Daten lesen, überhaupt nichts installiert wird.

Verbinden Sie es in fünf Schritten

  1. Erstellen Sie Ihr Konto

    Gehen Sie zu mein.querystreams.de und melde dich an. Wähle die Kostenlos Es handelt sich um einen echten Plan, nicht um eine Testversion, und er beinhaltet die Verbindung Ihrer SQLite-Datei und die Ausführung von Abfragen aus Google Sheets.

  2. Install the Agent on a computer that can open the file

    Anmelden, öffnen Herunterladen, and install the Agent for your system on the computer where the file is, or on one that can open it from a network share. It takes a minute and starts on its own from then on.

    Warum ein kleines Programm anstelle eines Treibers? The Agent is one install for Windows, Mac or Linux (about 85 MB on Windows, a little over 100 MB on Mac and Linux) that runs quietly in the background. It makes one outbound, encrypted connection to Query Streams, the same way a browser does, so you open no firewall port and set up no VPN. The file stays where it is, and the rows travel to wherever you are, across the internet if need be. The only thing on your side is the add-on.

    Die Downloadseite zeigt Ihr ZugangsschlüsselFügen Sie es in das Feld des Agenten ein, wenn Sie dazu aufgefordert werden, und warten Sie, bis das Abzeichen gelesen wurde. Verbunden mit AbfrageströmenDas ist das Einzige, was Sie auf dem Agenten selbst tun.

    Vollständige Komplettlösungen, falls gewünscht: Fenster, Mac, Linux.

  3. Verweisen Sie es auf Ihre SQLite-Datei.

    Zurück im Browser, öffnen Datenagenten (unter Daten (im oberen Menü). Ihr Agent ist dort aufgeführt. Anschluss hinzufügen, wählen SQLiteund füllen Sie Folgendes aus:

    Verbindungsname
    Ein beliebiger Name, den Sie später wiedererkennen werden, wie zum Beispiel die Vertriebsdatenbank.
    Datenbank-Dateipfad
    Where the SQLite file is: a path on the Agent’s computer, like C:\Data\sales.db, or a network path, like \\server\share\folder\sales.db, never a mapped drive letter such as S:. Use Browse to pick it.

    Klicken Sie auf TestverbindungWenn es liest Verbunden, klicken Speichern SieDie Verbindung erreicht Ihren Agenten innerhalb weniger Sekunden.

    Test fehlgeschlagen? Usually the path has a typo, or it uses a mapped drive letter such as S:, which the Agent cannot see. Open the folder, copy the path from the address bar, and paste it in again. For a file on another computer, see Reaching a file on a network share unten.

  4. See your data in Query Builder Optional

    You can look at your SQLite file before Google Sheets is involved at all. Open Abfrage-Generator in the portal and pick the connection you just made. The Schema tab lists your tables and columns, and clicking one puts its name in the editor, so you can write a query without remembering exact names. Click ausführen. and the rows appear under Ergebnisse. Query Builder is on every plan, Free included.

    On Business plans you can also ask Nova in plain English (“show me customers in the USA”) and it writes the SQL for you. When the query looks right, save it: from Personal Core up it shows in the add-on’s Saved Queries list, and on any plan you can copy the SQL into the next step.

  5. Füge Abfrageströme zu Google Tabellen hinzu

    Öffne ein beliebiges Google Sheet und gehe zu Erweiterungen → Add-ons → Add-ons herunterladen, suchen nach Abfrageströmeund klicken Sie InstallierenOder installieren Sie es direkt von Abfragestreams auf dem Google Workspace MarketplaceGoogle wird Sie bitten, das Add-on zuzulassen; das ist normal.

    Anschließend ist es in jedem geöffneten Google Sheet zu finden: ein Query-Streams-Symbol in der Seitenleiste rechts, das auch unter folgendem Eintrag aufgeführt ist: ErweiterungenEs ist keine separate Anmeldung erforderlich. Das System erkennt Ihr bereits verwendetes Google-Konto, daher muss die E-Mail-Adresse diejenige Ihres Query Streams-Kontos sein.

  6. Stellen Sie Ihren ersten Tisch auf

    Klicken Sie im Seitenbereich rechts im Arbeitsblatt auf das Symbol „Abfrageströme“ (oder suchen Sie es unter …). Erweiterungen). Wählen Abfragestreamer und wähle die soeben hergestellte Verbindung aus.

    Geben Sie die Abfrage ein, die Sie ausführen möchten. Diese Abfrage ruft einige Spalten aus einer Tabelle ab. Kunden Tisch:

    Beispiel · SQL
    SELECT customer_id, name, city FROM customers ORDER BY name LIMIT 100;

    Unter Zielblatt Wählen Sie den Tab aus, in dem die Zeilen landen sollen, und klicken Sie dann. Abfrage ausführenDie Zeilen erscheinen innerhalb von ein bis zwei Sekunden in diesem Tab. Klicken Sie erneut auf „Abfrage ausführen“, sobald sich die Daten geändert haben; der Tab wird dann entsprechend aktualisiert.

    Sie kennen sich nicht mit SQL aus? Build it in Abfrage-Generator first and paste it here, or pick it from Saved Queries if you saved it.

Reaching a file on a network share

The Agent opens files as a background service, not as you, so a file on another computer needs one extra step. Which step depends on the computer the Agent runs on.

Fenster

Type the network path, like \\server\share\folder, never a mapped drive letter such as S:, which the Agent cannot see. If the share only lets in named people, click Service identity (the chip under the path) and store a login for that server: a company domain account, or an account made on the server itself with Domain left blank. The Agent then signs in to that server and reads the file there, and every connector on that Agent that reads the same server must use the same login. Without a login, it reads as its own service account, which a company domain sees as the computer itself. Step by step on Windows

Linux

Share logins stored in the Portal are not used on Linux: an administrator mounts the share on the Agent’s computer first, in a folder under /mnt oder /Medien, because the Agent’s service cannot see /home oder /run/user. In the connector, keep the \\server\share path, which the Agent maps onto the mount, or type the mount path instead, such as /mnt/fileserver-shared/Accounts. How to mount a share on Linux

Mac

Share logins stored in the Portal are not used on a Mac: mount the share first from Terminal with sudo, in a folder under /Volumes, so the Agent’s background service can see it. In the connector, keep the \\server\share path, which the Agent maps onto the mount, or type the mount path instead, such as /Volumes/fileserver-shared/Accounts. How to mount a share on a Mac

If the test cannot get to the share, look for these words in its result: unreachable means the Agent’s computer got no answer from the server. On Linux or a Mac, not mounted means the share still has to be mounted, and that message includes the exact mount command for your server.

SQLite file on a share? Verlassen Read-Only (Immutable) ticked, as it is by default; reads then take a point-in-time view of the file without locks. SQLite cannot use its WAL mode over a network, so with that box unticked a WAL-mode database on a \\server\share path is refused, and the test says it is a WAL-mode SQLite database.

Test failed on a share?

A Windows Agent signs in to the file server itself, so its test result can also say:

NachrichtUrsacheFix
Access denied for the agent’s service account under the path, or Zugriff verweigert in the test resultThe share lets in named people only, and the Agent’s own Windows account is not one of them. Or the login stored for that server may not read this share.Klicken Sie auf Service identity under the path and store a login that can read the share. If one is stored already, ask whoever runs the server to give that account read access.
the credentials were refusedThe server turned the stored login down: a typo, the wrong domain, or a password changed since it was saved.Click the account name under the path and type the login again; for an account made on the server itself, leave Domain blank. were refused moments ago means the Agent waits a minute before it tries that same login again, so the account is not locked out; saving a corrected password tries again straight away.
Another connector on this agent already signs in to, oder Windows already holds a sign-in toThis Windows computer already signs in to that server as a different account, through another connector or another program. Windows allows one account per server.Store the login the other connector uses, or change it on every connector that reads that server. After Windows already holds a sign-in, the rest of the message says which account it is and what to do.
This agent build cannot sign in toThe Agent is an older version that cannot use stored share logins.Update the Agent, then test again.

Das war’s. Ihre Daten befinden sich in der Tabelle und bleiben mit einem Klick aktuell. Außer den von Ihnen angeforderten Zeilen hat nichts Ihr Netzwerk verlassen.

Gute nächste Schritte

  • Abfrage speichern im Portal, sodass Sie es mit einem Klick erneut ausführen können, entweder aus Google Sheets oder Excel.
  • Füge einen Filter hinzu wie beispielsweise ein Datumsbereich, sodass dieselbe Abfrage ohne Bearbeitung auch „diesen Monat“ beantworten kann.
  • Ergebnisse teilen mit einem Kollegen. Dieser sieht die Zeilen, nicht Ihre Datei und nicht Ihren Dateipfad.

Fragen, die Menschen stellen

Muss sich meine SQLite-Datei auf dem Computer befinden, auf dem ich Google Tabellen verwende?

No. Only the Agent has to be able to open your SQLite file. Google Sheets runs in your browser on any device. Open the add-on with the same Google account and your connections are there.

Wird meine Datenbankdatei irgendwo hochgeladen?

No. The Agent reads the file where it sits and sends only the rows your query asks for. The file stays where it is.

Kann die Datei in OneDrive, Dropbox oder Google Drive gespeichert sein?

Ja, solange die Datei mit dem Computer synchronisiert ist, auf dem der Agent ausgeführt wird, sodass der Agent sie als normale lokale Datei erkennt. Stellen Sie die Verbindung zur synchronisierten Kopie her.

Ist das im kostenlosen Tarif wirklich enthalten?

Ja. „Kostenlos“ ist ein dauerhafter Tarif, keine befristete Testphase. Die genauen Leistungen finden Sie hier: Preisseite.

Aktualisiert sich das Tabellenblatt von selbst?

Klicken Sie erneut auf „Abfrage ausführen“, um die neuesten Zeilen anzuzeigen. Für eine Tabelle, die sich automatisch nach einem Zeitplan aktualisiert, richten Sie eine Automatisierung im Query Streams-Portal ein (Streams → Automatisierung). Diese Funktion ist in jedem Tarif enthalten.

Immer noch festgefahren? Öffnen Unterstützung Bitte geben Sie in Query Streams an, bei welchem Schritt Sie sich befinden und was Sie sehen. Wir stellen dann die Verbindung her.
Query Streams verbindet außerdem dieselben Daten mitExcelClaude, Cursor und ChatGPTeine REST-APIund mehr

Jeder Leitfaden für SQLite

Nicht ganz Ihre Konfiguration?

  • Haben Sie einen Ordner mit SQLite-Dateien anstatt einer einzelnen Datei? SQLite Folder führt Tabellen mit gleichem Namen zu einer Tabelle zusammen und kennzeichnet jede Zeile mit der Datei, aus der sie stammt. SQLite Folder

Setup trouble?

  • Agent says the file or folder does not exist, or access is denied? Mapped drives, network shares, OneDrive and Linux home folders each need one fix → Where the Agent can read files from
  • Agent shows Offline, or Test connection and Browse are greyed out? Check that the Agent is online → Is the Agent online?
Aktualisiert am Oktober 17, 2026

Angetrieben durch BetterDocs