<?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[Create Table]]></title><description><![CDATA[<p>Hallo,</p>
<p>Ich denk mal das jetzt erst mal kommen wird das genug beiträge davon existieren, aber ich hab nichts gefunden was mir geholfen hat.</p>
<p>Also ich hab ein syntaxproblem beim erstellen eines SQL Tabels.</p>
<p>also mit:</p>
<pre><code class="language-cpp">DB_Query-&gt;SQL-&gt;Clear();
		DB_Query-&gt;SQL-&gt;Add(&quot;CREATE TABLE host_application&quot;);
		DB_Query-&gt;ExecSQL();
</code></pre>
<p>kann ich eine leere Tabelle erstellen. Das funktioniert. Aber wenn ich jetzt noch gleichzeitig Attribute erstellen will bekomm ich einen Syntaxfehler.</p>
<pre><code class="language-cpp">DB_Query-&gt;SQL-&gt;Clear();
		DB_Query-&gt;SQL-&gt;Add(&quot;CREATE TABLE host_application(app_id int(10) NOT NULL auto_increment, app_status smallint(2) NOT NULL default 0)&quot;);
		DB_Query-&gt;ExecSQL();
</code></pre>
<p>Das ganze ist ein ADO Query mit dem ich auf eine Access Datenbank zugreife.</p>
<p>Danke schonmal</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/206100/create-table</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 23:15:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/206100.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 21 Feb 2008 10:32:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Create Table on Thu, 21 Feb 2008 10:32:47 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Ich denk mal das jetzt erst mal kommen wird das genug beiträge davon existieren, aber ich hab nichts gefunden was mir geholfen hat.</p>
<p>Also ich hab ein syntaxproblem beim erstellen eines SQL Tabels.</p>
<p>also mit:</p>
<pre><code class="language-cpp">DB_Query-&gt;SQL-&gt;Clear();
		DB_Query-&gt;SQL-&gt;Add(&quot;CREATE TABLE host_application&quot;);
		DB_Query-&gt;ExecSQL();
</code></pre>
<p>kann ich eine leere Tabelle erstellen. Das funktioniert. Aber wenn ich jetzt noch gleichzeitig Attribute erstellen will bekomm ich einen Syntaxfehler.</p>
<pre><code class="language-cpp">DB_Query-&gt;SQL-&gt;Clear();
		DB_Query-&gt;SQL-&gt;Add(&quot;CREATE TABLE host_application(app_id int(10) NOT NULL auto_increment, app_status smallint(2) NOT NULL default 0)&quot;);
		DB_Query-&gt;ExecSQL();
</code></pre>
<p>Das ganze ist ein ADO Query mit dem ich auf eine Access Datenbank zugreife.</p>
<p>Danke schonmal</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1460053</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1460053</guid><dc:creator><![CDATA[JBOpael]]></dc:creator><pubDate>Thu, 21 Feb 2008 10:32:47 GMT</pubDate></item><item><title><![CDATA[Reply to Create Table on Thu, 21 Feb 2008 11:01:52 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Es wäre natürlich nicht schlecht gewesen noch die konkrete Fehlermeldung mitzuposten...</p>
<p>Teste mal deine SQL-Anweisung in Access selber. Schau in der Access-Hilfe nach<br />
was Access für eine Syntax erwartet. Mit dem Builder oder den Komponenten hat das Problem aber nichts zu tun.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1460081</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1460081</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Thu, 21 Feb 2008 11:01:52 GMT</pubDate></item><item><title><![CDATA[Reply to Create Table on Thu, 21 Feb 2008 11:04:21 GMT]]></title><description><![CDATA[<p>Bist Du Dir sicher dass Access diese Typen kennt? int(10)? smallint(2)? Vielleicht muss das integer heißen. Was paasiert, wenn Du das Statement direkt in Access (Abfragen,SQL-Ansicht) ausführst?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1460083</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1460083</guid><dc:creator><![CDATA[witte_]]></dc:creator><pubDate>Thu, 21 Feb 2008 11:04:21 GMT</pubDate></item><item><title><![CDATA[Reply to Create Table on Thu, 21 Feb 2008 12:39:28 GMT]]></title><description><![CDATA[<p>ok, daran hat es gelegen, Acces kennt diese Art nicht. zum einfachen anlegen kannn man folgendes schreiben:</p>
<pre><code class="language-cpp">DB_Query-&gt;SQL-&gt;Clear();
        DB_Query-&gt;SQL-&gt;Add(&quot;CREATE TABLE host_application(app_id int, app_status int&quot;);
        DB_Query-&gt;ExecSQL();
</code></pre>
<p>Damit legt er eine Tabelle mit 2 Spalten an.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1460155</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1460155</guid><dc:creator><![CDATA[JBOpael]]></dc:creator><pubDate>Thu, 21 Feb 2008 12:39:28 GMT</pubDate></item></channel></rss>