<?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[&#x27;YOU have an error in your SQL syntax; -&amp;gt; gelöst.]]></title><description><![CDATA[<p>Leute Bitte klärt mich auf ich verstehe es einfach nicht mehr.<br />
Fehlermeldung:</p>
<blockquote>
<p>In Projekt Projekt1.exe ist eine Exception der klasse EMyError mit der Meldung 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax tu use near '' at line 1aufgetreten.</p>
</blockquote>
<p>Das Projekt lief klasse. Habe alles gespeichert, rechner aus. Bin wieder da habe das gestartet kommt die f***** meldung.<br />
Aber vorher lief es nur bei der entwicklung mehr als 3 Stunden Fehlerfrei.<br />
Ich will es doch nur verstehen. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<pre><code class="language-cpp">DataModule2-&gt;SQLQuery5-&gt;SQL-&gt;Clear();
 DataModule2-&gt;SQLQuery5-&gt;SQL-&gt;Add(&quot;USE datenbank01;&quot;);
 DataModule2-&gt;SQLQuery5-&gt;ExecSQL();
 DataModule2-&gt;SQLQuery5-&gt;Close();
 DataModule2-&gt;SQLQuery5-&gt;SQL-&gt;Clear();

 DataModule2-&gt;SQLQuery5-&gt;SQL-&gt;Clear();
 DataModule2-&gt;SQLQuery5-&gt;SQL-&gt;Add(&quot;SELECT test_tab FROM testdb &quot;
 &quot;WHERE land='&quot;+ vupdate0 +&quot;';&quot;);
 DataModule2-&gt;SQLQuery5-&gt;Open();
 String var_ausgabe = DataModule2-&gt;SQLQuery5-&gt;FieldByName(&quot;test_tab&quot;)-&gt;AsString;
 DataModule2-&gt;SQLQuery5-&gt;Close();

 DataModule2-&gt;SQLQuery6-&gt;SQL-&gt;Clear();
 DataModule2-&gt;SQLQuery6-&gt;SQL-&gt;Add(&quot;USE &quot;+ var_ausgabe +&quot;;&quot;);
 DataModule2-&gt;SQLQuery6-&gt;ExecSQL();
 DataModule2-&gt;SQLQuery6-&gt;SQL-&gt;Clear();
 DataModule2-&gt;SQLQuery6-&gt;SQL-&gt;Add(&quot;SELECT kategorie FROM tab_kategorie;&quot;);
 DataModule2-&gt;SQLQuery6-&gt;Open();
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/195711/you-have-an-error-in-your-sql-syntax-gt-gelöst</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 10:20:45 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/195711.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 20 Oct 2007 21:24:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to &#x27;YOU have an error in your SQL syntax; -&amp;gt; gelöst. on Sat, 20 Oct 2007 22:19:00 GMT]]></title><description><![CDATA[<p>Leute Bitte klärt mich auf ich verstehe es einfach nicht mehr.<br />
Fehlermeldung:</p>
<blockquote>
<p>In Projekt Projekt1.exe ist eine Exception der klasse EMyError mit der Meldung 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax tu use near '' at line 1aufgetreten.</p>
</blockquote>
<p>Das Projekt lief klasse. Habe alles gespeichert, rechner aus. Bin wieder da habe das gestartet kommt die f***** meldung.<br />
Aber vorher lief es nur bei der entwicklung mehr als 3 Stunden Fehlerfrei.<br />
Ich will es doch nur verstehen. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<pre><code class="language-cpp">DataModule2-&gt;SQLQuery5-&gt;SQL-&gt;Clear();
 DataModule2-&gt;SQLQuery5-&gt;SQL-&gt;Add(&quot;USE datenbank01;&quot;);
 DataModule2-&gt;SQLQuery5-&gt;ExecSQL();
 DataModule2-&gt;SQLQuery5-&gt;Close();
 DataModule2-&gt;SQLQuery5-&gt;SQL-&gt;Clear();

 DataModule2-&gt;SQLQuery5-&gt;SQL-&gt;Clear();
 DataModule2-&gt;SQLQuery5-&gt;SQL-&gt;Add(&quot;SELECT test_tab FROM testdb &quot;
 &quot;WHERE land='&quot;+ vupdate0 +&quot;';&quot;);
 DataModule2-&gt;SQLQuery5-&gt;Open();
 String var_ausgabe = DataModule2-&gt;SQLQuery5-&gt;FieldByName(&quot;test_tab&quot;)-&gt;AsString;
 DataModule2-&gt;SQLQuery5-&gt;Close();

 DataModule2-&gt;SQLQuery6-&gt;SQL-&gt;Clear();
 DataModule2-&gt;SQLQuery6-&gt;SQL-&gt;Add(&quot;USE &quot;+ var_ausgabe +&quot;;&quot;);
 DataModule2-&gt;SQLQuery6-&gt;ExecSQL();
 DataModule2-&gt;SQLQuery6-&gt;SQL-&gt;Clear();
 DataModule2-&gt;SQLQuery6-&gt;SQL-&gt;Add(&quot;SELECT kategorie FROM tab_kategorie;&quot;);
 DataModule2-&gt;SQLQuery6-&gt;Open();
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1389184</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1389184</guid><dc:creator><![CDATA[titanium]]></dc:creator><pubDate>Sat, 20 Oct 2007 22:19:00 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;YOU have an error in your SQL syntax; -&amp;gt; gelöst. on Sat, 20 Oct 2007 21:39:14 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>wo tritt der Fehler genau auf</p>
<p>hast du deine Felder ueberprueft</p>
<p>Mfg<br />
Klaus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1389190</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1389190</guid><dc:creator><![CDATA[KlausB]]></dc:creator><pubDate>Sat, 20 Oct 2007 21:39:14 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;YOU have an error in your SQL syntax; -&amp;gt; gelöst. on Sat, 20 Oct 2007 21:49:40 GMT]]></title><description><![CDATA[<p>In,ab der Zeile 17.<br />
Ich sage es wieder das lief ganze Zeit.<br />
Was mache ich flasch?<br />
gibt es eine Regel für die Benutzung der SQLQuery ?</p>
<p>Nuer 1 ExecSQL.<br />
und 2 (Select) Open, abfragen?<br />
Ich bin am ende.</p>
<p>Das beste ist da Tauchte das Problem überhaupt nicht auf. Nur als ich Wieder kam direkt da.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1389193</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1389193</guid><dc:creator><![CDATA[titanium]]></dc:creator><pubDate>Sat, 20 Oct 2007 21:49:40 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;YOU have an error in your SQL syntax; -&amp;gt; gelöst. on Sat, 20 Oct 2007 21:57:33 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>welche DB verwendest du denn</p>
<p>bist du dir sicher das das so funktioniert ?</p>
<blockquote>
<p>DataModule2-&gt;SQLQuery6-&gt;SQL-&gt;Add(&quot;USE &quot;+ var_ausgabe +&quot;;&quot;)</p>
</blockquote>
<p>schau mal im debugger was da drinnen steht</p>
<p>Mfg<br />
Klaus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1389194</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1389194</guid><dc:creator><![CDATA[KlausB]]></dc:creator><pubDate>Sat, 20 Oct 2007 21:57:33 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;YOU have an error in your SQL syntax; -&amp;gt; gelöst. on Sat, 20 Oct 2007 22:07:06 GMT]]></title><description><![CDATA[<p>dbExpress.<br />
Das was ich nicht verstehe der gleiche code im gleichen Programm in eine andere datei funktioniert.</p>
<blockquote>
<p>DataModule2-&gt;SQLQuery6-&gt;SQL-&gt;Add(&quot;USE &quot;+ var_ausgabe +&quot;;&quot;)</p>
</blockquote>
<p>macht dann eine abfrage in der datenbank:</p>
<pre><code>use datnebank;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1389197</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1389197</guid><dc:creator><![CDATA[titanium]]></dc:creator><pubDate>Sat, 20 Oct 2007 22:07:06 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;YOU have an error in your SQL syntax; -&amp;gt; gelöst. on Sat, 20 Oct 2007 22:18:38 GMT]]></title><description><![CDATA[<p>Problem gelöst.<br />
Fehler gefunden.<br />
Trotzdem danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1389198</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1389198</guid><dc:creator><![CDATA[titanium]]></dc:creator><pubDate>Sat, 20 Oct 2007 22:18:38 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;YOU have an error in your SQL syntax; -&amp;gt; gelöst. on Sat, 20 Oct 2007 22:41:47 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>es gehoert sich eigentlich die Loesung hier zu posten</p>
<p>Mfg<br />
Klaus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1389202</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1389202</guid><dc:creator><![CDATA[KlausB]]></dc:creator><pubDate>Sat, 20 Oct 2007 22:41:47 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;YOU have an error in your SQL syntax; -&amp;gt; gelöst. on Sun, 21 Oct 2007 09:05:15 GMT]]></title><description><![CDATA[<p>Ah der KlausB ist auch mal wieder da <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Kommst wohl nicht zum posten da Akari immer so schnell ist normalerweise?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1389239</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1389239</guid><dc:creator><![CDATA[VergissEs]]></dc:creator><pubDate>Sun, 21 Oct 2007 09:05:15 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;YOU have an error in your SQL syntax; -&amp;gt; gelöst. on Sun, 21 Oct 2007 09:57:42 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>genau richtig<br />
aber nachts ist er scheinbar nicht da <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>Mfg<br />
Klaus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1389262</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1389262</guid><dc:creator><![CDATA[KlausB]]></dc:creator><pubDate>Sun, 21 Oct 2007 09:57:42 GMT</pubDate></item><item><title><![CDATA[Reply to &#x27;YOU have an error in your SQL syntax; -&amp;gt; gelöst. on Sun, 21 Oct 2007 21:30:24 GMT]]></title><description><![CDATA[<p>Hi,<br />
nein ich bin nur Nachts Online. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /><br />
Irgendwo in mein Code war ein dreher drin.<br />
Die Variable war dann leer.<br />
Aber Sorry habe lange gebraucht um das zu finden.</p>
<blockquote>
<p>near '' at</p>
</blockquote>
<p>Deswegen die Fehler Meldung.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1389662</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1389662</guid><dc:creator><![CDATA[titanium]]></dc:creator><pubDate>Sun, 21 Oct 2007 21:30:24 GMT</pubDate></item></channel></rss>