Name already used by an existing object in VBA

前端 未结 2 1571
北荒
北荒 2021-01-28 07:36

In VBA, I am trying to use OraDynaSet object to create a temporary table and fetch some data into it before using it for another select.

strSQL = \"create table          


        
2条回答
  •  囚心锁ツ
    2021-01-28 07:42

    The table already exists. You are not creating a temporary table but a standard table: it will remain in the database after your script has ended. If you have already run this script and you have not dropped the table, the following executions will fail.

    In Oracle Global temporary table are persistent objects that contain temporary data. In most cases if you need to use a temporary table regularly (because it is part of a recurrent process), you would create the table once only.

提交回复
热议问题