<?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[MFC und SQL]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>ich hätte mal eine Frage zwecks C++ und MySQL.<br />
Habe folgendes Problem:<br />
Ich benötige eine SQL-Aneisung, mit der ich anhand eines Suchbegriffes alle Daten die mit diesem zusammenhängen in einer Listbox auflisten kann.</p>
<p>Mein bisheriger SQL-Befehl:<br />
sql = &quot;select id, datum, ip, art, kw from auswertung where kw = %s&quot;, suchwort;</p>
<p>suchwort ist eine Variable vom Typ CString. kw ist natürlich auch vom typ CString.</p>
<p>Könnt ihr mir vielleicht da mal einen Tipp geben was da falsch sein soll!!!</p>
<p>Gruß Markus</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/57170/mfc-und-sql</link><generator>RSS for Node</generator><lastBuildDate>Tue, 02 Jun 2026 12:01:27 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/57170.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Dec 2003 14:56:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MFC und SQL on Tue, 02 Dec 2003 14:56:03 GMT]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>ich hätte mal eine Frage zwecks C++ und MySQL.<br />
Habe folgendes Problem:<br />
Ich benötige eine SQL-Aneisung, mit der ich anhand eines Suchbegriffes alle Daten die mit diesem zusammenhängen in einer Listbox auflisten kann.</p>
<p>Mein bisheriger SQL-Befehl:<br />
sql = &quot;select id, datum, ip, art, kw from auswertung where kw = %s&quot;, suchwort;</p>
<p>suchwort ist eine Variable vom Typ CString. kw ist natürlich auch vom typ CString.</p>
<p>Könnt ihr mir vielleicht da mal einen Tipp geben was da falsch sein soll!!!</p>
<p>Gruß Markus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/406505</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/406505</guid><dc:creator><![CDATA[Markus25]]></dc:creator><pubDate>Tue, 02 Dec 2003 14:56:03 GMT</pubDate></item><item><title><![CDATA[Reply to MFC und SQL on Tue, 02 Dec 2003 14:59:40 GMT]]></title><description><![CDATA[<p>Hi</p>
<p>%s wird nur von CSting::Format oder spintf,... verwendet.<br />
probier mal folgendes:<br />
[cpp]<br />
sql = &quot;select id, datum, ip, art, kw from auswertung where kw = '&quot;;<br />
sql += suchwort + &quot;'&quot;;</p>
<p>Grüße Rapha</p>
]]></description><link>https://www.c-plusplus.net/forum/post/406513</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/406513</guid><dc:creator><![CDATA[Rapha]]></dc:creator><pubDate>Tue, 02 Dec 2003 14:59:40 GMT</pubDate></item><item><title><![CDATA[Reply to MFC und SQL on Tue, 02 Dec 2003 15:13:26 GMT]]></title><description><![CDATA[<p>Hi Rapha,</p>
<p>danke für deinen Tipp.<br />
Haut einwandfrei hin. War schon fast am verzweifeln wegen dieser Select-Anweisung.</p>
<p>Gruß Markus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/406537</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/406537</guid><dc:creator><![CDATA[Markus25]]></dc:creator><pubDate>Tue, 02 Dec 2003 15:13:26 GMT</pubDate></item></channel></rss>