<?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: proc sql insert doesnt work in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-insert-doesnt-work/m-p/733276#M38519</link>
    <description>&lt;P&gt;So you have table names in your DBMS that do not conform to rules for SAS names; this may cause that you insert your observations into a another table than the one you look at.&lt;/P&gt;
&lt;P&gt;How did you verify that the obs were not inserted in the first place?&lt;/P&gt;</description>
    <pubDate>Tue, 13 Apr 2021 11:38:19 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-04-13T11:38:19Z</dc:date>
    <item>
      <title>proc sql insert doesnt work</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-insert-doesnt-work/m-p/733258#M38515</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I am using SAS EG 8.3, and now I am having troubles with inserting values into table in external server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;insert into rsk_cbs.FOR_FINAL_SPR_REP&lt;BR /&gt;select * from FOR_FINAL_SPR_REP_WORK;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It says that&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: 130 rows were inserted into RSK_CBS.FOR_FINAL_SPR_REP.&lt;/P&gt;&lt;P&gt;but it didn't. why could this happen?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 10:59:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-insert-doesnt-work/m-p/733258#M38515</guid>
      <dc:creator>l0calh0st</dc:creator>
      <dc:date>2021-04-13T10:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql insert doesnt work</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-insert-doesnt-work/m-p/733260#M38516</link>
      <description>&lt;P&gt;Please run this code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
select nobs from dictionary.tables
where libname = "RSK_CBS" and memname = "FOR_FINAL_SPR_REP";
quit;

proc sql;
insert into rsk_cbs.FOR_FINAL_SPR_REP
select * from FOR_FINAL_SPR_REP_WORK;
run;

proc sql;
select nobs from dictionary.tables
where libname = "RSK_CBS" and memname = "FOR_FINAL_SPR_REP";
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and post both the log and the output.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 11:06:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-insert-doesnt-work/m-p/733260#M38516</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-13T11:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql insert doesnt work</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-insert-doesnt-work/m-p/733271#M38517</link>
      <description>&lt;P&gt;output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="l0calh0st_0-1618312670449.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/57472iBDCA25D91D861F53/image-size/medium?v=v2&amp;amp;px=400" role="button" title="l0calh0st_0-1618312670449.png" alt="l0calh0st_0-1618312670449.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;why is it empty?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 11:19:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-insert-doesnt-work/m-p/733271#M38517</guid>
      <dc:creator>l0calh0st</dc:creator>
      <dc:date>2021-04-13T11:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql insert doesnt work</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-insert-doesnt-work/m-p/733272#M38518</link>
      <description>&lt;P&gt;log output:&lt;/P&gt;&lt;P&gt;1 The SAS System 16:22 Tuesday, April 13, 2021&lt;/P&gt;&lt;P&gt;1 ;*';*";*/;quit;run;&lt;BR /&gt;2 OPTIONS PAGENO=MIN;&lt;BR /&gt;3 %LET _CLIENTTASKLABEL='Программа 1';&lt;BR /&gt;4 %LET _CLIENTPROCESSFLOWNAME='Схема процесса';&lt;BR /&gt;5 %LET _CLIENTPROJECTPATH='C:\Users\sayabaea\Desktop\active\моделирование\скоринг по авто\auto_strategy_DT_210413_edw.egp';&lt;BR /&gt;6 %LET _CLIENTPROJECTPATHHOST='PC000000028524';&lt;BR /&gt;7 %LET _CLIENTPROJECTNAME='auto_strategy_DT_210413_edw.egp';&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 proc sql;&lt;BR /&gt;29 select nobs from dictionary.tables&lt;BR /&gt;30 where libname = "RSK_CBS" and memname = "FOR_FINAL_SPR_REP";&lt;BR /&gt;NOTE: Due to the PRESERVE_TAB_NAMES=NO libname option setting, 5 table(s) have not been displayed/returned.&lt;BR /&gt;31 quit;&lt;BR /&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;real time 0.45 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;32&lt;BR /&gt;33 proc sql;&lt;BR /&gt;34 insert into rsk_cbs.FOR_FINAL_SPR_REP&lt;BR /&gt;35 select * from FOR_FINAL_SPR_REP_WORK;&lt;BR /&gt;NOTE: 130 rows were inserted into RSK_CBS.FOR_FINAL_SPR_REP.&lt;/P&gt;&lt;P&gt;36 run;&lt;BR /&gt;NOTE: PROC SQL statements are executed immediately; The RUN statement has no effect.&lt;BR /&gt;37&lt;BR /&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;real time 0.07 seconds&lt;BR /&gt;cpu time 0.02 seconds&lt;/P&gt;&lt;P&gt;38 proc sql;&lt;BR /&gt;39 select nobs from dictionary.tables&lt;BR /&gt;40 where libname = "RSK_CBS" and memname = "FOR_FINAL_SPR_REP";&lt;BR /&gt;NOTE: Due to the PRESERVE_TAB_NAMES=NO libname option setting, 5 table(s) have not been displayed/returned.&lt;BR /&gt;41 quit;&lt;BR /&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;2 The SAS System 16:22 Tuesday, April 13, 2021&lt;/P&gt;&lt;P&gt;real time 0.15 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;42&lt;BR /&gt;43 %LET _CLIENTTASKLABEL=;&lt;BR /&gt;44 %LET _CLIENTPROCESSFLOWNAME=;&lt;BR /&gt;45 %LET _CLIENTPROJECTPATH=;&lt;BR /&gt;46 %LET _CLIENTPROJECTPATHHOST=;&lt;BR /&gt;47 %LET _CLIENTPROJECTNAME=;&lt;BR /&gt;48 %LET _SASPROGRAMFILE=;&lt;BR /&gt;49 %LET _SASPROGRAMFILEHOST=;&lt;BR /&gt;50&lt;BR /&gt;51 ;*';*";*/;quit;run;&lt;BR /&gt;52 ODS _ALL_ CLOSE;&lt;BR /&gt;53&lt;BR /&gt;54&lt;BR /&gt;55 QUIT; RUN;&lt;BR /&gt;56&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 11:20:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-insert-doesnt-work/m-p/733272#M38518</guid>
      <dc:creator>l0calh0st</dc:creator>
      <dc:date>2021-04-13T11:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql insert doesnt work</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-insert-doesnt-work/m-p/733276#M38519</link>
      <description>&lt;P&gt;So you have table names in your DBMS that do not conform to rules for SAS names; this may cause that you insert your observations into a another table than the one you look at.&lt;/P&gt;
&lt;P&gt;How did you verify that the obs were not inserted in the first place?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 11:38:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-insert-doesnt-work/m-p/733276#M38519</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-13T11:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql insert doesnt work</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-insert-doesnt-work/m-p/733279#M38520</link>
      <description>I inserted data for specific day, and those observations for that day are empty</description>
      <pubDate>Tue, 13 Apr 2021 12:03:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-insert-doesnt-work/m-p/733279#M38520</guid>
      <dc:creator>l0calh0st</dc:creator>
      <dc:date>2021-04-13T12:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql insert doesnt work</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-insert-doesnt-work/m-p/733285#M38521</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/284197"&gt;@l0calh0st&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I inserted data for specific day, and those observations for that day are empty&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So it DID insert observations, but with missing values (apart from the date)?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 12:17:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-sql-insert-doesnt-work/m-p/733285#M38521</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-13T12:17:33Z</dc:date>
    </item>
  </channel>
</rss>

