<?xml version="1.0" encoding="utf-8" ?>

<?xml-stylesheet type="text/xsl" href="/dirk/blog/templates/dirk/rss.xsl" media="screen" ?>
<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Dirks Logbuch (Artikel mit Tag sqlite)</title>
    <link>https://www.deimeke.net/dirk/blog/</link>
    <description>Die Chronik des schleichenden Wahnsinns ...</description>
    <dc:language>de</dc:language>
    <generator>Serendipity 2.6.0 - http://www.s9y.org/</generator>
    <pubDate>Thu, 01 Jan 1970 00:00:00 GMT</pubDate>

    <image>
    <url>https://www.deimeke.net/dirk/blog/uploads/dd-logo-100-transparent-ohne.png</url>
    <title>RSS: Dirks Logbuch - Die Chronik des schleichenden Wahnsinns ...</title>
    <link>https://www.deimeke.net/dirk/blog/</link>
    <width>72</width>
    <height>34</height>
</image>

<item>
    <title>Von MySQL nach SQLite ...</title>
    <link>https://www.deimeke.net/dirk/blog/index.php?/archives/2272-Von-MySQL-nach-SQLite-....html</link>
            <category>computer</category>
    
    <comments>https://www.deimeke.net/dirk/blog/index.php?/archives/2272-Von-MySQL-nach-SQLite-....html#comments</comments>
    <wfw:comment>https://www.deimeke.net/dirk/blog/wfwcomment.php?cid=2272</wfw:comment>

    <slash:comments>9</slash:comments>
    <wfw:commentRss>https://www.deimeke.net/dirk/blog/rss.php?version=2.0&amp;type=comments&amp;cid=2272</wfw:commentRss>
    

    <author>nospam@example.com (Dirk Deimeke)</author>
    <content:encoded>
    Wie hier schon &lt;a href=&quot;http://www.deimeke.net/dirk/blog/index.php?/plugin/tag/sqlite&quot;&gt;mehrfach im Blog geschrieben&lt;/a&gt;, bin ich ein grosser Fan der Mini-Datenbank &lt;a href=&quot;http://www.sqlite.org/&quot; class=&quot;websnapr&quot;&gt;SQLite&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Jetzt habe ich ein (verbesserungswürdiges aber funktionierendes) Skript gefunden, dass einen MySQL-Dump für SQLite aufbereitet: &lt;a href=&quot;http://www.jbip.net/content/how-convert-mysql-sqlite&quot; class=&quot;websnapr&quot;&gt;How-to: Convert mysql to sqlite&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Dump der MySQL-Datenbank ziehen, wichtig ist die Option &quot;--compatible=ansi&quot;:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;$ mysqldump &lt;span style=&quot;color: #660033;&quot;&gt;-u&lt;/span&gt; root &lt;span style=&quot;color: #660033;&quot;&gt;-p&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;--compatible&lt;/span&gt;=ansi &lt;span style=&quot;color: #660033;&quot;&gt;--skip-opt&lt;/span&gt; generator &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt; dumpfile&lt;br /&gt;$ mysql2sqlite.bash dumpfile&lt;br /&gt;$ sqlite3 dumpfile.db&lt;/div&gt;&lt;br /&gt;
Mit folgendem mysql2sqlite.bash:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;#!/bin/bash&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;x$1&amp;quot;&lt;/span&gt; == &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;x&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;then&lt;/span&gt;&lt;br /&gt;&amp;#160; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;Usage: $0 &amp;lt;dumpname&amp;gt;&amp;quot;&lt;/span&gt;&lt;br /&gt;&amp;#160; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;exit&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;cat&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$1&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;grep&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-v&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039; KEY &amp;quot;&#039;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;grep&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-v&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039; UNIQUE KEY &amp;quot;&#039;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;grep&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-v&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039; PRIMARY KEY &#039;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sed&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;/^SET/d&#039;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sed&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;s/ unsigned / /g&#039;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sed&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;s/ auto_increment/ primary key autoincrement/g&#039;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sed&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;s/ smallint([0-9]*) / integer /g&#039;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sed&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;s/ tinyint([0-9]*) / integer /g&#039;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sed&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;s/ int([0-9]*) / integer /g&#039;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sed&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;s/ character set [^ ]* / /g&#039;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sed&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;s/ enum([^)]*) / varchar(255) /g&#039;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sed&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;s/ on update [^,]*//g&#039;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sed&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;s/\\r\\n/\\n/g&#039;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sed&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;s/\\&amp;quot;/&amp;quot;/g&#039;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;perl&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-e&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;local $/;$_=&amp;lt;&amp;gt;;s/,\n\)/\n\)/gs;print &amp;quot;begin;\n&amp;quot;;print;print &amp;quot;commit;\n&amp;quot;&#039;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;perl&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-pe&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;&lt;br /&gt;if (/^(INSERT.+?)\(/) {&lt;br /&gt;&amp;#160; $a=$1;&lt;br /&gt;&amp;#160; s/\\&#039;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;\&#039;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;/&#039;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;\&#039;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;\&#039;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;/g;&lt;br /&gt;&amp;#160; s/\\n/\n/g;&lt;br /&gt;&amp;#160; s/\),\(/\);\n$a\(/g;&lt;br /&gt;}&lt;br /&gt;&#039;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$1&lt;/span&gt;.sql&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;cat&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$1&lt;/span&gt;.sql &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt; sqlite3 &lt;span style=&quot;color: #007800;&quot;&gt;$1&lt;/span&gt;.db &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$1&lt;/span&gt;.err&lt;br /&gt;&lt;span style=&quot;color: #007800;&quot;&gt;ERRORS&lt;/span&gt;=&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;`&lt;/span&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;cat&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$1&lt;/span&gt;.err &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;wc&lt;/span&gt; -l&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;`&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$ERRORS&lt;/span&gt; == &lt;span style=&quot;color: #000000;&quot;&gt;0&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;then&lt;/span&gt;&lt;br /&gt;&amp;#160; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;Conversion completed without error. Output file: $1.db&amp;quot;&lt;/span&gt;&lt;br /&gt;&amp;#160; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;rm&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$1&lt;/span&gt;.sql&lt;br /&gt;&amp;#160; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;rm&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$1&lt;/span&gt;.err&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;&amp;#160; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;There were errors during conversion. &amp;#160;Please review $1.err and $1.sql for details.&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;fi&lt;/span&gt;&lt;/div&gt; 
    </content:encoded>

    <pubDate>Mon, 12 Jul 2010 06:34:07 +0200</pubDate>
    <guid isPermaLink="false">https://www.deimeke.net/dirk/blog/index.php?/archives/2272-guid.html</guid>
    <category>computer</category>
<category>mysql</category>
<category>sqlite</category>

</item>
<item>
    <title>Verheiraten von SQLite und SQuirreL SQL ...</title>
    <link>https://www.deimeke.net/dirk/blog/index.php?/archives/1820-Verheiraten-von-SQLite-und-SQuirreL-SQL-....html</link>
            <category>plattformübergreifend</category>
    
    <comments>https://www.deimeke.net/dirk/blog/index.php?/archives/1820-Verheiraten-von-SQLite-und-SQuirreL-SQL-....html#comments</comments>
    <wfw:comment>https://www.deimeke.net/dirk/blog/wfwcomment.php?cid=1820</wfw:comment>

    <slash:comments>6</slash:comments>
    <wfw:commentRss>https://www.deimeke.net/dirk/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1820</wfw:commentRss>
    

    <author>nospam@example.com (Dirk Deimeke)</author>
    <content:encoded>
    Über mein Lieblingsdatenbankabfragewerkzeug &lt;a href=&quot;http://squirrel-sql.sourceforge.net/&quot;&gt;SQuireL SQL&lt;/a&gt; habe ich in &lt;a href=&quot;http://www.deimeke.net/dirk/blog/index.php?serendipity[action]=search&amp;serendipity[searchTerm]=squirrel&quot;&gt;anderem Zusammenhang&lt;/a&gt; schon einmal etwas geschrieben.&lt;br /&gt;
&lt;br /&gt;
Den JDBC-Treiber von &lt;a href=&quot;http://www.zentus.com/sqlitejdbc/&quot;&gt;SQLiteJDBC&lt;/a&gt; herunterladen und ins lib-Verzeichnis der Squirrel-Installation kopieren.&lt;br /&gt;
&lt;br /&gt;
Einen neuen Treiber nach folgendem Muster anlegen.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- s9ymdb:5841 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;519&quot; height=&quot;446&quot; style=&quot;border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;https://www.deimeke.net/dirk/blog/uploads/squirrel-sqlite.png&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Name: SQLite&lt;br /&gt;
Example URL: jdbc:sqlite:&lt;/path/to/db&gt;&lt;br /&gt;
Website URL: http://www.zentus.com/sqlitejdbc/&lt;br /&gt;
Class Name: org.sqlite.JDBC&lt;br /&gt;
&lt;br /&gt;
Danach kann eine neue Datenbank nach diesem Muster angelegt werden (unter Windows Backslashes durch Slashes ersetzen), ein Login wird nicht gebraucht.:&lt;br /&gt;
&lt;br /&gt;
&lt;!-- s9ymdb:5842 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;428&quot; height=&quot;350&quot; style=&quot;border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;https://www.deimeke.net/dirk/blog/uploads/squirrel-sqlite-database.png&quot; alt=&quot;&quot; /&gt; 
    </content:encoded>

    <pubDate>Tue, 04 Aug 2009 06:09:00 +0200</pubDate>
    <guid isPermaLink="false">https://www.deimeke.net/dirk/blog/index.php?/archives/1820-guid.html</guid>
    <category>java</category>
<category>jdbc</category>
<category>plattformübergreifend</category>
<category>sqlite</category>

</item>
<item>
    <title>SQLite, noch einmal ...</title>
    <link>https://www.deimeke.net/dirk/blog/index.php?/archives/1811-SQLite,-noch-einmal-....html</link>
            <category>plattformübergreifend</category>
    
    <comments>https://www.deimeke.net/dirk/blog/index.php?/archives/1811-SQLite,-noch-einmal-....html#comments</comments>
    <wfw:comment>https://www.deimeke.net/dirk/blog/wfwcomment.php?cid=1811</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://www.deimeke.net/dirk/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1811</wfw:commentRss>
    

    <author>nospam@example.com (Dirk Deimeke)</author>
    <content:encoded>
    &lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://sqlite.org/&#039;&gt;&lt;!-- s9ymdb:5616 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;327&quot; height=&quot;97&quot; style=&quot;float: right; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;https://www.deimeke.net/dirk/blog/uploads/SQLite.gif&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;Wie &lt;a href=&quot;http://www.deimeke.net/dirk/blog/index.php?/archives/1698-SQLite.html&quot;&gt;bereits angekündigt&lt;/a&gt;, wollte ich mal etwas zu &lt;a href=&quot;http://sqlite.org/&quot;&gt;SQLite&lt;/a&gt; schreiben.&lt;br /&gt;
&lt;br /&gt;
Da ich das Werkzeug mal wieder im Büro gebraucht habe und fast zeitgleich eine Anfrage im &lt;a href=&quot;http://forum.ubuntuusers.de/topic/script-um-daten-herauszufiltern/&quot;&gt;ubuntuusers.de-Forum aufkam&lt;/a&gt;, hier also ein bisschen Text dazu:&lt;br /&gt;
&lt;br /&gt;
SQLite ist eine Datenbank in einer Datei, das heisst, es muss kein Server-Dienst laufen. Das Client-Programm ist auch gleichzeitig das Datenbankverwaltungstool.&lt;br /&gt;
&lt;br /&gt;
SQLite ist in allen aktuellen Mobiltelefonen (als Telefonbuch / Adressverwaltung) zu finden und wird aktiv von (beispielsweise) Adobe, Bloomberg, Mozilla und Symbian gefördert.&lt;br /&gt;
&lt;br /&gt;
SQLite gibt es als Sourcecode und vorcompiliert für Linux, Mac OS X, und Windows, sowie auch als JDBC-Treiber oder Perl-Modul.&lt;br /&gt;
&lt;br /&gt;
Natürlich kann SQLite nicht alles was ein Client-Server-Datenbanksystem kann, aber für 95% der Anwendungsfälle einer Privatperson reicht es aus.&lt;br /&gt;
&lt;br /&gt;
Ein sehr grosser Anteil von SQL-Kommandos wird unterstützt.&lt;br /&gt;
&lt;br /&gt;
Es gibt nur vier Speicherklassen Integer, Real, Text, Blob. &quot;create table&quot;-Statement anderer Datenbanksysteme wird in der Regel problemlos interpretiert (nur, dass im Hintergrund beispielsweise statt VARCHAR TEXT benutzt wird).&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://forum.ubuntuusers.de/topic/script-um-daten-herauszufiltern/&quot;&gt;Die Aufgabe&lt;/a&gt;:&lt;blockquote&gt;Zwei Dateien: Eine enthält Adressdaten in Folgender Form (telneu.txt, 1.8 GB, ~60 Millionen Zeilen): Vorname Nachname;Strasse;Ort;PLZ;Telnr; (Je Zeile ein Datensatz), die Zweite Datei enthält nur Postleitzahlen (plz.txt, ~1000 Zeilen).&lt;br /&gt;
&lt;br /&gt;
Aus der ersten Datei werden alle Datensätze gesucht, deren Postleitzahlen in der zweiten Datei vorkommen.&lt;/blockquote&gt;&lt;div class=&quot;sql geshi&quot; style=&quot;text-align: left&quot;&gt;sqlite&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;CREATE&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;TABLE&lt;/span&gt; telneu &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;Vorname_Nachname text&lt;span style=&quot;color: #66cc66;&quot;&gt;,&lt;/span&gt; Strasse text&lt;span style=&quot;color: #66cc66;&quot;&gt;,&lt;/span&gt; Ort text&lt;span style=&quot;color: #66cc66;&quot;&gt;,&lt;/span&gt; PLZ text&lt;span style=&quot;color: #66cc66;&quot;&gt;,&lt;/span&gt; Telnr text&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;sqlite&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;.&lt;/span&gt;separator &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;;&amp;quot;&lt;/span&gt;&lt;br /&gt;sqlite&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;.&lt;/span&gt;import telneu&lt;span style=&quot;color: #66cc66;&quot;&gt;.&lt;/span&gt;txt telneu&lt;br /&gt;sqlite&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;CREATE&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;INDEX&lt;/span&gt; idx_telneu_plz &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ON&lt;/span&gt; telneu &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;PLZ&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;sqlite&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;CREATE&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;TABLE&lt;/span&gt; plz &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;plz text&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;sqlite&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;.&lt;/span&gt;import plz&lt;span style=&quot;color: #66cc66;&quot;&gt;.&lt;/span&gt;txt plz&lt;br /&gt;sqlite&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;SELECT&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;FROM&lt;/span&gt; telneu &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;WHERE&lt;/span&gt; plz &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;IN&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;SELECT&lt;/span&gt; plz &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;FROM&lt;/span&gt; plz&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Vielleicht hilft es Euch auch.&lt;br /&gt;
&lt;br /&gt;
Hier ein paar Links:&lt;br /&gt;
- &lt;a href=&quot;http://sqlite.org/download.html&quot;&gt;Downloads&lt;/a&gt; - Paket &quot;sqlite3&quot; in Ubuntu&lt;br /&gt;
- &lt;a href=&quot;http://sqlite.org/docs.html&quot;&gt;Dokumentation&lt;/a&gt;&lt;br /&gt;
- &lt;a href=&quot;http://sqlite.org/datatype3.html&quot;&gt;Datentypen&lt;/a&gt;&lt;br /&gt;
- &lt;a href=&quot;http://sqlite.org/lang.html&quot;&gt;SQL-Syntax&lt;/a&gt;&lt;br /&gt;
- &lt;a href=&quot;http://www.zentus.com/sqlitejdbc/&quot;&gt;JDBC-Treiber&lt;/a&gt;&lt;br /&gt;
- &lt;a href=&quot;http://search.cpan.org/~adamk/DBD-SQLite-1.25/lib/DBD/SQLite.pm&quot;&gt;Perl-Modul&lt;/a&gt; - Paket &quot;libdbd-sqlite&quot; in Ubuntu&lt;br /&gt;
- Firefox Extension &lt;a href=&quot;https://addons.mozilla.org/de/firefox/addon/5817&quot;&gt;SQLite Manager&lt;/a&gt;&lt;img src=&quot;https://ssl-vg03.met.vgwort.de/na/e3dacaf6aa38404e90f60ad7c431a265&quot; width=&quot;1&quot; height=&quot;1&quot; alt=&quot;&quot;&gt; 
    </content:encoded>

    <pubDate>Wed, 29 Jul 2009 14:38:56 +0200</pubDate>
    <guid isPermaLink="false">https://www.deimeke.net/dirk/blog/index.php?/archives/1811-guid.html</guid>
    <category>perl</category>
<category>plattformübergreifend</category>
<category>sqlite</category>

</item>
<item>
    <title>SQLite</title>
    <link>https://www.deimeke.net/dirk/blog/index.php?/archives/1698-SQLite.html</link>
            <category>plattformübergreifend</category>
    
    <comments>https://www.deimeke.net/dirk/blog/index.php?/archives/1698-SQLite.html#comments</comments>
    <wfw:comment>https://www.deimeke.net/dirk/blog/wfwcomment.php?cid=1698</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>https://www.deimeke.net/dirk/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1698</wfw:commentRss>
    

    <author>nospam@example.com (Dirk Deimeke)</author>
    <content:encoded>
    &lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://www.sqlite.org/&#039;&gt;&lt;!-- s9ymdb:5616 --&gt;&lt;img class=&quot;serendipity_image_left&quot; width=&quot;110&quot; height=&quot;33&quot; style=&quot;float: left; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;https://www.deimeke.net/dirk/blog/uploads/SQLite.serendipityThumb.gif&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;Ein kleines &quot;Erinner mich&quot;. Ich muss dringend einmal einen Artikel zu &lt;a href=&quot;http://www.sqlite.org/&quot;&gt;SQLite&lt;/a&gt; schreiben. Damit kann man wirklich schnell gute Dinge tun.&lt;br /&gt;
&lt;br /&gt;
Diese &quot;Datenbank in einer Datei&quot; ist wirklich unglaublich. Die Beschäftigung damit lohnt sich in jedem Fall. Die Datenbank findet sich in jedem Handy und es gibt Portierungen für nahezu alle Betriebssysteme. 
    </content:encoded>

    <pubDate>Thu, 21 May 2009 20:14:27 +0200</pubDate>
    <guid isPermaLink="false">https://www.deimeke.net/dirk/blog/index.php?/archives/1698-guid.html</guid>
    <category>plattformübergreifend</category>
<category>sqlite</category>

</item>

</channel>
</rss>
