Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Problems with dynamic creation of Volatile tables - response (13) by ditaya

$
0
0

Hi,
I am new to Teradata and I have been working lately on creating volatile tables. Am currently using Teradata Studio Express for Mac. (Teradata 13.10). I have not been successful in creating volatile tables. This is a sample query that am trying to execute:

  CREATE VOLATILE TABLE test_volatile

(

  HIGHEST_SALARY INTEGER,

  AVERAGE_SALARY INTEGER,

  LOWEST_SALARY INTEGER

)

    primary index(highest_salary)

    ON COMMIT PRESERVE ROWS;

 

The output message that I get is as follows:

 

Executed as Single statement.  

Elapsed time = 00:00:00.108 

STATEMENT 1: COMMIT  completed. 0 rows processed.  
However, when i try to query data from the above table:
select * from test_volatile / SELECT COUNT(*) from test_volatile;
I get the following message:

Executed as Single statement.  Failed [3807 : 42S02] Object 'test_volatile' does not exist. 

Elapsed time = 00:00:00.079 

STATEMENT 1: Select Statement failed. 

 

Am I doing something wrong here? 

 

- Ditaya


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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