<?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: Running SQL in Teradata - Replace View statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Running-SQL-in-Teradata-Replace-View-statement/m-p/665428#M198979</link>
    <description>&lt;P&gt;Are you saying you ran a REPLACE VIEW .... statement and the view was not replaced (or created if it wasn't there).&lt;/P&gt;
&lt;P&gt;Are you sure you are defining the view in the same place with both methods?&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jun 2020 18:07:40 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2020-06-26T18:07:40Z</dc:date>
    <item>
      <title>Running SQL in Teradata - Replace View statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-SQL-in-Teradata-Replace-View-statement/m-p/665379#M198947</link>
      <description>&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;I've got some code written in SAS EG to connect to Teradata using PROC SQL and then execute a query via SQL Pass-Through. I am trying to make Teradata run a Replace View statement, and although I don't get an error in the SAS log my code is not executing! I have tested this by amending the view directly in Teradata and then re-running my SAS code (which should reverse the changes I made in Teradata), but it doesn't run.&lt;/P&gt;&lt;P&gt;If anyone has any suggestions I would be grateful - this is really bugging me!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 14:54:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-SQL-in-Teradata-Replace-View-statement/m-p/665379#M198947</guid>
      <dc:creator>Marcus_Peters</dc:creator>
      <dc:date>2020-06-26T14:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Running SQL in Teradata - Replace View statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-SQL-in-Teradata-Replace-View-statement/m-p/665427#M198978</link>
      <description>&lt;P&gt;Check this paper for some clues&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.lexjansen.com/pharmasug/2017/BB/PharmaSUG-2017-BB17.pdf" target="_blank"&gt;https://www.lexjansen.com/pharmasug/2017/BB/PharmaSUG-2017-BB17.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;use this SAS option&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;OPTIONS DEBUG=DBMS_SELECT SASTRACE=',,,d' SASTRACELOC=SASLOG NOSTSUFFIX;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Make sure your SAS connection credentials are identical to the credentials you used when you logged into Teradata outside of SAS.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this hellps,&lt;/P&gt;
&lt;P&gt;Ahmed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 18:03:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-SQL-in-Teradata-Replace-View-statement/m-p/665427#M198978</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2020-06-26T18:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Running SQL in Teradata - Replace View statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-SQL-in-Teradata-Replace-View-statement/m-p/665428#M198979</link>
      <description>&lt;P&gt;Are you saying you ran a REPLACE VIEW .... statement and the view was not replaced (or created if it wasn't there).&lt;/P&gt;
&lt;P&gt;Are you sure you are defining the view in the same place with both methods?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 18:07:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-SQL-in-Teradata-Replace-View-statement/m-p/665428#M198979</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-06-26T18:07:40Z</dc:date>
    </item>
  </channel>
</rss>

