Hallo, ich hab hier ne SQL Lite Datenbank-Datei kommt man mit irgendeinem Programm an die Daten die in der Datei drinn sind, so das man Sie weiterverwenden kann. Ich bräuchte aus der Datei paar Werte in ner Excel Datei. Kann mir einer ein Tip geben, wie man das bewerkstellingen könnte ? gruß, Björn
z.B.hier: http://www.sqlite.org/sqlite.html Auszug: Writing results to a file By default, sqlite3 sends query results to standard output. You can change this using the ".output" command. Just put the name of an output file as an argument to the .output command and all subsequent query results will be written to that file. Use ".output stdout" to begin writing to standard output again. For example: sqlite> .mode list sqlite> .separator | sqlite> .output test_file_1.txt sqlite> select * from tbl1; sqlite> .exit $ cat test_file_1.txt hello|10 goodbye|20 $ Oder: Converting An Entire Database To An ASCII Text File Use the ".dump" command to convert the entire contents of a database into a single ASCII text file. This file can be converted back into a database by piping it back into sqlite3. A good way to make an archival copy of a database is this: $ echo '.dump' | sqlite3 ex1 | gzip -c >ex1.dump.gz This generates a file named ex1.dump.gz that contains everything you need to reconstruct the database at a later time, or on another machine. To reconstruct the database, just type: $ zcat ex1.dump.gz | sqlite3 ex2 The text format is pure SQL so you can also use the .dump command to export an SQLite database into other popular SQL database engines. Like this: $ createdb ex2 $ sqlite3 ex1 .dump | psql ex2 Hilft Dir das?
Danke, könnte sein das mich das weiterbringt, ich tu mich nur schwer hab weder bisher mit Datenbanken gearbeitet noch speziel mit SQL. gruß, Björn
Der Artikel ist schon mal nicht schlecht: http://de.wikipedia.org/wiki/SQL Und hier gibt es etwas mehr: http://de.wikibooks.org/wiki/Einf%C3%BChrung_in_SQL
Es gibt für den Firefox auch ein Plugin für SQLite Datenbanken: https://addons.mozilla.org/de/firefox/addon/sqlite-manager/ und als eigenständiges Programm "SQLite Database Browser" (ist aber nicht so gut finde ich) Hoffe es hilft dir weiter Gruß Florian
Am besten du installierst den SQLite-ODBC Treiber: http://www.ch-werner.de/sqliteodbc/ dann kannst du die benötigten Daten direkt in Excel importieren.
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.