<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Logfile Inahlt aus Textdatei in Records splitten und in SQL - DB pushen]]></title><description><![CDATA[<p>Hallo Gurus,</p>
<p>habe einen SQL Server auf den ich via ODBC auf eine SQLD DB mit Borland Builder 4<br />
zugreifen möchte, die Verbindungen und Datemodule sind fertig.</p>
<p>Nun muss ich einen Weg finden die Textdatei die folgendermassen aufgebaut ist:</p>
<p>192.168.32.14 - - [13/Sep/2005:10:17:40 +0200] &quot;GET <a href="http://www.alternate.de:80" rel="nofollow">www.alternate.de:80</a> /pix/teaser/harrypotter_9-2005.jpg HTTP/1.0&quot; 304 0 &quot;<a href="http://www.alternate.de/html/index.html" rel="nofollow">http://www.alternate.de/html/index.html</a>&quot; &quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)&quot;</p>
<p>192.168.37.26 - - [13/Sep/2005:10:17:48 +0200] &quot;GET <a href="http://rcm-de.amazon.de:80" rel="nofollow">rcm-de.amazon.de:80</a> /e/cm HTTP/1.0&quot; 200 3979 &quot;<a href="http://www.it-administrator.de/lexikon/odi.html" rel="nofollow">http://www.it-administrator.de/lexikon/odi.html</a>&quot; &quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)&quot;</p>
<p>192.168.39.26 - - [13/Sep/2005:10:17:53 +0200] &quot;GET <a href="http://www.brunen-it-shop.de:80" rel="nofollow">www.brunen-it-shop.de:80</a> /shop/images/icons/infopo.gif HTTP/1.0&quot; 200 168 &quot;<a href="http://www.brunen-it-shop.de/shop/product_info.php?cPath=128_176&amp;products_id=834&amp;osCsid=60363f071207310fc19f952c541d9320" rel="nofollow">http://www.brunen-it-shop.de/shop/product_info.php?cPath=128_176&amp;products_id=834&amp;osCsid=60363f071207310fc19f952c541d9320</a>&quot; &quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)&quot;</p>
<p>kurz gessagt, benötige ich aus jedem Datensatz die IP Adresse, Datum, Uhrzeit und die URL, diese Spalten habe ich in der SQL DB schon angelegt plus einem Auto ID Feld versteht sich von selbst.</p>
<p>Nun möchte ich in meinem Borland Prog einen Button zum einlesen der Texdatei in die DB erstellen... BITTE HILFE</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/203347/logfile-inahlt-aus-textdatei-in-records-splitten-und-in-sql-db-pushen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 10:29:23 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/203347.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 21 Jan 2008 19:33:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Logfile Inahlt aus Textdatei in Records splitten und in SQL - DB pushen on Mon, 21 Jan 2008 19:36:17 GMT]]></title><description><![CDATA[<p>Hallo Gurus,</p>
<p>habe einen SQL Server auf den ich via ODBC auf eine SQLD DB mit Borland Builder 4<br />
zugreifen möchte, die Verbindungen und Datemodule sind fertig.</p>
<p>Nun muss ich einen Weg finden die Textdatei die folgendermassen aufgebaut ist:</p>
<p>192.168.32.14 - - [13/Sep/2005:10:17:40 +0200] &quot;GET <a href="http://www.alternate.de:80" rel="nofollow">www.alternate.de:80</a> /pix/teaser/harrypotter_9-2005.jpg HTTP/1.0&quot; 304 0 &quot;<a href="http://www.alternate.de/html/index.html" rel="nofollow">http://www.alternate.de/html/index.html</a>&quot; &quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)&quot;</p>
<p>192.168.37.26 - - [13/Sep/2005:10:17:48 +0200] &quot;GET <a href="http://rcm-de.amazon.de:80" rel="nofollow">rcm-de.amazon.de:80</a> /e/cm HTTP/1.0&quot; 200 3979 &quot;<a href="http://www.it-administrator.de/lexikon/odi.html" rel="nofollow">http://www.it-administrator.de/lexikon/odi.html</a>&quot; &quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)&quot;</p>
<p>192.168.39.26 - - [13/Sep/2005:10:17:53 +0200] &quot;GET <a href="http://www.brunen-it-shop.de:80" rel="nofollow">www.brunen-it-shop.de:80</a> /shop/images/icons/infopo.gif HTTP/1.0&quot; 200 168 &quot;<a href="http://www.brunen-it-shop.de/shop/product_info.php?cPath=128_176&amp;products_id=834&amp;osCsid=60363f071207310fc19f952c541d9320" rel="nofollow">http://www.brunen-it-shop.de/shop/product_info.php?cPath=128_176&amp;products_id=834&amp;osCsid=60363f071207310fc19f952c541d9320</a>&quot; &quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)&quot;</p>
<p>kurz gessagt, benötige ich aus jedem Datensatz die IP Adresse, Datum, Uhrzeit und die URL, diese Spalten habe ich in der SQL DB schon angelegt plus einem Auto ID Feld versteht sich von selbst.</p>
<p>Nun möchte ich in meinem Borland Prog einen Button zum einlesen der Texdatei in die DB erstellen... BITTE HILFE</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1440881</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1440881</guid><dc:creator><![CDATA[Doc_Schneider]]></dc:creator><pubDate>Mon, 21 Jan 2008 19:36:17 GMT</pubDate></item><item><title><![CDATA[Reply to Logfile Inahlt aus Textdatei in Records splitten und in SQL - DB pushen on Mon, 21 Jan 2008 20:50:18 GMT]]></title><description><![CDATA[<p>Lade die Textdatei in eine TStringList, dort kannst du auf jede Zeile als einzelnen String zugreifen und diesen mit AnsiString-Methoden wie SubString(), Pos() usw. zerlegen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1440923</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1440923</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Mon, 21 Jan 2008 20:50:18 GMT</pubDate></item><item><title><![CDATA[Reply to Logfile Inahlt aus Textdatei in Records splitten und in SQL - DB pushen on Tue, 22 Jan 2008 08:02:59 GMT]]></title><description><![CDATA[<p>Hallo, vielen Dank für deine schnelle Hilfe,</p>
<p>ich muss aber zusätzlich noch auf jeden einzelnen Wert zugreifen können, eine Zeile allein reicht leider nicht aus, ich werde mal sehen ob ich es so realisieren kann.</p>
<p>Noch ein anderes Problem,</p>
<p>[13/Sep/2005:10:17:48</p>
<p>wie kann ich das hier gezeigt Datumsformat 13/Sep/2005 in ein Datumsfeld schreiben bzw. konvertieren?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1441067</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1441067</guid><dc:creator><![CDATA[Doc_Schneider]]></dc:creator><pubDate>Tue, 22 Jan 2008 08:02:59 GMT</pubDate></item><item><title><![CDATA[Reply to Logfile Inahlt aus Textdatei in Records splitten und in SQL - DB pushen on Tue, 22 Jan 2008 08:24:13 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Die Zeilen must du selber auseinandernehmen, dazu die genannten AnsiString-Methoden.</p>
<p>Wenn das Eingangsdatumsformat immer das gleiche ist einfach nach den '/' suchen und Tag, Monat und Jahr splitten. Das kannst du dann zu deinen Datenbank-Format wieder zusammensetzen.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1441074</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1441074</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Tue, 22 Jan 2008 08:24:13 GMT</pubDate></item></channel></rss>