alwaysAnewbie
Programmer
I created a global temporary table in a database that I do not own but have create table permissions on. I can access the table from within the session I created the table but other sessions (for the same user) cannot see the table.
session 1 Logs in and executes create table:
CREATE MULTISET GLOBAL TEMPORARY TABLE dbname.tablename (
column1 CHAR(6) NOT NULL,
column2 CHAR(6),
etc...
Session 1 inserts data
Insert into dbname.tablename values ('VALUE1','VALUE2'......
1 record inserted
Session 2 logs in and executes :
Insert into dbname.tablename values ('VALUE1','VALUE2'......
Error Table/view/trigger/procedure 'dbname.tablename' does not exist.
Why can't session 2 find the table?
session 1 Logs in and executes create table:
CREATE MULTISET GLOBAL TEMPORARY TABLE dbname.tablename (
column1 CHAR(6) NOT NULL,
column2 CHAR(6),
etc...
Session 1 inserts data
Insert into dbname.tablename values ('VALUE1','VALUE2'......
1 record inserted
Session 2 logs in and executes :
Insert into dbname.tablename values ('VALUE1','VALUE2'......
Error Table/view/trigger/procedure 'dbname.tablename' does not exist.
Why can't session 2 find the table?