I am interested in creating temp tables using SQL.
I am a .net developer with Informix 4GL background (not much use here).
Before developing a .net solution I like to use an SQL editor such as WINSQL to run queries as I research the available data.
Temp tables are often handy for rolling up data during one of these discovery sessions.
I am interested in using these temp tables in one session and then dropping them.
Our Progress database is used with our Epicor Vantage ERP system. There is an account on the Progress database named SYSPROGRESS. This is the account we use to connect through our OpenEdge ODBC driver.
Since I was unable to find an SQL temp table solution, I tried to use CREATE TABLE [owner].tablename
I received errors when I did not specify an owner. I tried to specify SYSPROGRESS as the owner and received the same error.
I then specified and owner using CREATE TABLE jplahitko.tablename and the table now exists. I inserted a record and retrieved it using a SELECT statement. However, when I try to drop the table, I get this error:
OpenEdge - Failure to acquire exclusive schema lock for DDL operation (7872)
I have tried these with the same error:
DROP TABLE tablename
DROP TABLE sysprogress.tablename
DROP TABLE jplahitko.tablename
I can create a table and insert records for a user that is not actually in the database. But I cannot delete it.
I have read in other threads that all users must be out with only one user connected. This doesn't make sense to me.
Can anyone tell me how to delete this table?
I am a .net developer with Informix 4GL background (not much use here).
Before developing a .net solution I like to use an SQL editor such as WINSQL to run queries as I research the available data.
Temp tables are often handy for rolling up data during one of these discovery sessions.
I am interested in using these temp tables in one session and then dropping them.
Our Progress database is used with our Epicor Vantage ERP system. There is an account on the Progress database named SYSPROGRESS. This is the account we use to connect through our OpenEdge ODBC driver.
Since I was unable to find an SQL temp table solution, I tried to use CREATE TABLE [owner].tablename
I received errors when I did not specify an owner. I tried to specify SYSPROGRESS as the owner and received the same error.
I then specified and owner using CREATE TABLE jplahitko.tablename and the table now exists. I inserted a record and retrieved it using a SELECT statement. However, when I try to drop the table, I get this error:
OpenEdge - Failure to acquire exclusive schema lock for DDL operation (7872)
I have tried these with the same error:
DROP TABLE tablename
DROP TABLE sysprogress.tablename
DROP TABLE jplahitko.tablename
I can create a table and insert records for a user that is not actually in the database. But I cannot delete it.
I have read in other threads that all users must be out with only one user connected. This doesn't make sense to me.
Can anyone tell me how to delete this table?