<?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: Error attempting to CREATE a DBMS table in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/768523#M39551</link>
    <description>The log is clear. You do not have privileges to create a table in Oracle.&lt;BR /&gt;</description>
    <pubDate>Mon, 20 Sep 2021 09:32:47 GMT</pubDate>
    <dc:creator>Sajid01</dc:creator>
    <dc:date>2021-09-20T09:32:47Z</dc:date>
    <item>
      <title>Error attempting to CREATE a DBMS table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/752506#M39037</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;im trying to create a table on DB how ever i get the below Log.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data edbact.test;set test;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#800000"&gt;ERROR: Error attempting to CREATE a DBMS table. ERROR: CLI execute error: [Oracle][ODBC][Ora]ORA-01031: insufficient privileges .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i talked with the administrators of the server they said i have the right access to create tables on the DB however they don't seem to understand why this error is happening.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i appreciate your help and ideas so i can communicate with them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 09:45:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/752506#M39037</guid>
      <dc:creator>L5ive</dc:creator>
      <dc:date>2021-07-07T09:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error attempting to CREATE a DBMS table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/752509#M39039</link>
      <description>&lt;P&gt;So the db-server says that you don't have the necessary privileges to create a table, while the admins say you have.&lt;/P&gt;
&lt;P&gt;Have you checked &lt;A href="https://support.sas.com/kb/47/797.html" target="_blank"&gt;https://support.sas.com/kb/47/797.html&lt;/A&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 09:56:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/752509#M39039</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-07-07T09:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error attempting to CREATE a DBMS table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/752734#M39046</link>
      <description>&lt;P&gt;Usually create table privileges will be limited to a specific database and schema. Are you sure you are writing to the correct schema? Also you could try actual Oracle SQL code in SQL Passthru.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 21:16:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/752734#M39046</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-07-07T21:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error attempting to CREATE a DBMS table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/752877#M39052</link>
      <description>&lt;P&gt;I was successfully able to assign the ODBC library however now i have a different problem as follows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;first i wrote a line to assign the library given to me by the admins&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003366"&gt;libname ODBCWORK odbc user=work pwd='MYPWSD' datasrc='EGYDBACT-WORK';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then i wrote the following code to create a test table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003366"&gt;DATA ODBCWORK.TESTTABLEAU; SET TEST;RUN;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then i found that all the tables that were in the library were replaced by only the table i created. and if i opened a new session i can see the original database again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before Defing the the Library&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; After Defing the the Library&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TESt SCreen.JPG" style="width: 266px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/61062iB14F36FC1D43ADC4/image-size/large?v=v2&amp;amp;px=999" role="button" title="TESt SCreen.JPG" alt="TESt SCreen.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TEST 2.JPG" style="width: 264px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/61063i590727D011E3BC4B/image-dimensions/264x393?v=v2" width="264" height="393" role="button" title="TEST 2.JPG" alt="TEST 2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this also here is a photo of the proprieties of the DB for your reference&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DB.JPG" style="width: 346px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/61064iCD2E2EB6FAE3D678/image-size/large?v=v2&amp;amp;px=999" role="button" title="DB.JPG" alt="DB.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="notranslate"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Jul 2021 14:32:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/752877#M39052</guid>
      <dc:creator>L5ive</dc:creator>
      <dc:date>2021-07-08T14:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error attempting to CREATE a DBMS table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/752883#M39053</link>
      <description>&lt;P&gt;That was the natural out come of your statement.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Try this This will create a dataset test in your work library. This will have the contents of testtableau table&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
DATA  test;
set ODBCWORK.TESTTABLEAU; 
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 14:44:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/752883#M39053</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2021-07-08T14:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error attempting to CREATE a DBMS table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/752887#M39054</link>
      <description>&lt;P&gt;I am not sure what GUI those screen shots are from, they do not look like anything I have seen in SAS, but perhaps you are using a different interface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible the default schema is a temporary space that is cleared when your database session ends?&amp;nbsp; That would explain why a new session does not see the new table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not see any mention of which schema you are connecting to in the LIBNAME statement.&amp;nbsp; You could try using the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/acreldb/n1h1m1ethqxwryn1wu68m46hdp1u.htm" target="_self"&gt;SCHEMA=&lt;/A&gt; dataset option to override the default schema.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 14:56:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/752887#M39054</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-07-08T14:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error attempting to CREATE a DBMS table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/752998#M39055</link>
      <description>&lt;P&gt;Looks like you are creating a database temporary table. The default behaviour for these types of tables is for these to only exist while you maintain your database connection. As soon as you close the connection the temporary table is deleted. If you want to keep your database connection across multiple LIBNAME statements then try adding the CONNECTION = GLOBAL to your LIBNAME.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 20:16:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/752998#M39055</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-07-08T20:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error attempting to CREATE a DBMS table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/753428#M39069</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am not sure what GUI those screen shots are from, they do not look like anything I have seen in SAS, but perhaps you are using a different interface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Screenshots look like EG 8.x with the dark color theme.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 06:48:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/753428#M39069</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-07-12T06:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error attempting to CREATE a DBMS table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/768518#M39550</link>
      <description>&lt;P&gt;below is the complete log of the line.&lt;/P&gt;&lt;P&gt;hopefully this would be helpful&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;*';*";*/;quit;run;&lt;BR /&gt;2 OPTIONS PAGENO=MIN;&lt;BR /&gt;3 %LET _CLIENTTASKLABEL='Program';&lt;BR /&gt;4 %LET _CLIENTPROCESSFLOWNAME='Standalone Not In Project';&lt;BR /&gt;5 %LET _CLIENTPROJECTPATH='';&lt;BR /&gt;6 %LET _CLIENTPROJECTPATHHOST='';&lt;BR /&gt;7 %LET _CLIENTPROJECTNAME='';&lt;BR /&gt;8 %LET _SASPROGRAMFILE='';&lt;BR /&gt;9 %LET _SASPROGRAMFILEHOST='';&lt;BR /&gt;10&lt;BR /&gt;11 ODS _ALL_ CLOSE;&lt;BR /&gt;12 OPTIONS DEV=SVG;&lt;BR /&gt;13 GOPTIONS XPIXELS=0 YPIXELS=0;&lt;BR /&gt;14 %macro HTML5AccessibleGraphSupported;&lt;BR /&gt;15 %if %_SAS_VERCOMP_FV(9,4,4, 0,0,0) &amp;gt;= 0 %then ACCESSIBLE_GRAPH;&lt;BR /&gt;16 %mend;&lt;BR /&gt;17 FILENAME EGHTML TEMP;&lt;BR /&gt;18 ODS HTML5(ID=EGHTML) FILE=EGHTML&lt;BR /&gt;19 OPTIONS(BITMAP_MODE='INLINE')&lt;BR /&gt;20 %HTML5AccessibleGraphSupported&lt;BR /&gt;21 ENCODING='utf-8'&lt;BR /&gt;22 STYLE=HTMLBlue&lt;BR /&gt;23 NOGTITLE&lt;BR /&gt;24 NOGFOOTNOTE&lt;BR /&gt;25 GPATH=&amp;amp;sasworklocation&lt;BR /&gt;26 ;&lt;BR /&gt;NOTE: Writing HTML5(EGHTML) Body file: EGHTML&lt;BR /&gt;27&lt;BR /&gt;28 data ora_work.testTableau_new;set ora_work.provider;keep npcod;run;&lt;/P&gt;&lt;P&gt;NOTE: SAS variable labels, formats, and lengths are not written to DBMS tables.&lt;BR /&gt;ERROR: Error attempting to CREATE a DBMS table. ERROR: ORACLE execute error: ORA-01031: insufficient privileges..&lt;BR /&gt;NOTE: The DATA step has been abnormally terminated.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;WARNING: The data set ORA_WORK.TESTTABLEAU_NEW may be incomplete. When this step was stopped there were 0 observations and 1&lt;BR /&gt;variables.&lt;BR /&gt;ERROR: ROLLBACK issued due to errors for data set ORA_WORK.TESTTABLEAU_NEW.DATA.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.30 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;29&lt;BR /&gt;30&lt;BR /&gt;31 %LET _CLIENTTASKLABEL=;&lt;BR /&gt;32 %LET _CLIENTPROCESSFLOWNAME=;&lt;BR /&gt;33 %LET _CLIENTPROJECTPATH=;&lt;BR /&gt;34 %LET _CLIENTPROJECTPATHHOST=;&lt;BR /&gt;35 %LET _CLIENTPROJECTNAME=;&lt;BR /&gt;36 %LET _SASPROGRAMFILE=;&lt;BR /&gt;37 %LET _SASPROGRAMFILEHOST=;&lt;BR /&gt;38&lt;BR /&gt;39 ;*';*";*/;quit;run;&lt;BR /&gt;40 ODS _ALL_ CLOSE;&lt;BR /&gt;41&lt;BR /&gt;42&lt;BR /&gt;43 QUIT; RUN;&lt;BR /&gt;44&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 07:41:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/768518#M39550</guid>
      <dc:creator>L5ive</dc:creator>
      <dc:date>2021-09-20T07:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error attempting to CREATE a DBMS table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/768523#M39551</link>
      <description>The log is clear. You do not have privileges to create a table in Oracle.&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Sep 2021 09:32:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-attempting-to-CREATE-a-DBMS-table/m-p/768523#M39551</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2021-09-20T09:32:47Z</dc:date>
    </item>
  </channel>
</rss>

