Quantcast
Viewing all articles
Browse latest Browse all 2638

Temp table is losing its scope before termination of session .

Hi ,  When I am trying to create a temp local table and perform a select statement over it . It says that it is not able to find the temp table .

 

The create Statement for the Temp Table -

Image may be NSFW.
Clik here to view.
create_statement.png

 

Response of creating the Table -

 

Image may be NSFW.
Clik here to view.
create_statement_reply.png

Select Statement for the Temp Table -

 

Image may be NSFW.
Clik here to view.
select_statement.png

response for select Statement -

Image may be NSFW.
Clik here to view.
select_statement_result.png

14:37:09 (SQL Editor) Could not execute 'select * from #insert_table'

Error: (dberror) 259 - invalid table name: Could not find table/view #INSERT_TABLE in schema ANALYTIC_CONTENT: line 20 col 15 (at pos 15)

 

I want to know do we have to perform some additional configuration in the catalog  or its happening for some other issues.

 

Thanks


Viewing all articles
Browse latest Browse all 2638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>