<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: EXEC SQL &amp; CREATE TABLE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exec-sql-create-table/m-p/847776#M45594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you cannot see this table, because using exec sql, you created it directly on the database, without creating dictionary entries (using se11). But anyway, your table exists on the database. If you want to see that table you need to goto your database using sql+ for example. Another option is using ms-query to connect to the database using odbc ...&lt;/P&gt;&lt;P&gt;Which database are you on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siggi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Feb 2005 12:05:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-02-15T12:05:23Z</dc:date>
    <item>
      <title>EXEC SQL &amp; CREATE TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exec-sql-create-table/m-p/847775#M45593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to create table using EXEC SQL. But, the table that I had created using EXEC SQL is not shown in data dictionary. I can not see that table from SE11. If I run the same program again, then gives error about there is already a table that I want to create. So, How can see it? Is seeing that table possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;EXEC SQL.
CREATE TABLE ZCOPYTABLE(
NAME CHAR(15) NOT NULL,
SURNAME CHAR(15) NOT NULL,
TEL CHAR(10) NOT NULL,
PRIMARY KEY (NAME, SURNAME)
)
ENDEXEC.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2005 11:54:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exec-sql-create-table/m-p/847775#M45593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-15T11:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: EXEC SQL &amp; CREATE TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exec-sql-create-table/m-p/847776#M45594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you cannot see this table, because using exec sql, you created it directly on the database, without creating dictionary entries (using se11). But anyway, your table exists on the database. If you want to see that table you need to goto your database using sql+ for example. Another option is using ms-query to connect to the database using odbc ...&lt;/P&gt;&lt;P&gt;Which database are you on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siggi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2005 12:05:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exec-sql-create-table/m-p/847776#M45594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-15T12:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: EXEC SQL &amp; CREATE TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exec-sql-create-table/m-p/847777#M45595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Huseyin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think you can use the Native SQL statements for DDL (data definition language) statements in SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason is that the Native SQL statements by-pass the SAP Application Server and are executed directly at the Database Server. You will find more information on the SAP Online Help Documentation site. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the ABAP Dictionary is very much an application, it fails to recognize the tables which were not created through it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The DDL statements in Native SQL are only for advanced database adminstration tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2005 12:37:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exec-sql-create-table/m-p/847777#M45595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-15T12:37:05Z</dc:date>
    </item>
  </channel>
</rss>

