<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Smart003</title>
    <description>The latest articles on DEV Community by Smart003 (@smart003).</description>
    <link>https://dev.to/smart003</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F948294%2Fa9a48afc-c219-42c6-8a49-f19e6d4b19f8.png</url>
      <title>DEV Community: Smart003</title>
      <link>https://dev.to/smart003</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/smart003"/>
    <language>en</language>
    <item>
      <title>unable to execute the block</title>
      <dc:creator>Smart003</dc:creator>
      <pubDate>Tue, 18 Oct 2022 17:00:02 +0000</pubDate>
      <link>https://dev.to/smart003/unable-to-execute-the-block-5g78</link>
      <guid>https://dev.to/smart003/unable-to-execute-the-block-5g78</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;div class="ltag__stackexchange--header"&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7Gn-iPj_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
          &lt;a href="https://stackoverflow.com/questions/74114607/unable-to-execute-the-block" rel="noopener noreferrer"&gt;
            unable to execute the block
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Oct 18 '22&lt;/span&gt;
            &lt;span&gt;Comments: 1&lt;/span&gt;
            &lt;span&gt;Answers: 0&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/74114607/unable-to-execute-the-block" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Y9mJpuJP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          0
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wif5Zq3z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;can you help me in rectifying the following code&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;execute immediate $$
declare
    TABLE_CATALOG varchar default ('DB')
    TABLE_SCHEMA varchar default ('SCH');
    VIEW_NAME varchar default ('View');
  VEW resultset default (SELECT * from table(GET_OBJECT_REFERENCES(DATABASE_NAME =&amp;gt;:TABLE_CATALOG , SCHEMA_NAME =&amp;gt;:TABLE_SCHEMA, OBJECT_NAME =&amp;gt;:VIEW_NAME)));
 begin
return table(VEW);
end;
$$
;

&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;the following error appears when the…&lt;/p&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    &lt;a href="https://stackoverflow.com/questions/74114607/unable-to-execute-the-block" class="ltag__stackexchange--btn" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
  &lt;/div&gt;
&lt;/div&gt;


</description>
      <category>snowflake</category>
      <category>sql</category>
      <category>beginners</category>
      <category>database</category>
    </item>
  </channel>
</rss>
