Home » RDBMS Server » Server Administration » Help - Errors with CREATE TEMPORARY TABLE and EXECUTE IMMEDIATE - Any help appreciated :)
Help - Errors with CREATE TEMPORARY TABLE and EXECUTE IMMEDIATE - Any help appreciated :) [message #374693] Mon, 25 June 2001 09:19 Go to next message
Christopher Frankland
Messages: 2
Registered: June 2001
Junior Member
Hi there,
When attempting to create a temporary table using the procedure below I receive the following errors:

Errors:

(1)PLS-00103: Encountered the symbol "IMMEDIATE" when expecting one of the following:
(1):
(1): :=.(@%;
(1): The symbol ":= was inserted before IMMEDIATE to continue.

My Procedure:

PROCEDURE COPY_TEMPLATE (
IN_MASTER_ID IN NUMBER
)

IS

BEGIN

EXECUTE IMMEDIATE 'CREATE GLOBAL TEMPORARY TABLE TEMP_COPY_TEMPLATE(TEMPLATE_DATE DATE)';

END;

Any help would be much appreciated :)

Many thanks,

Chris.
Re: Help - Errors with CREATE TEMPORARY TABLE and EXECUTE IMMEDIATE - Any help appreciated :) [message #374733 is a reply to message #374693] Wed, 27 June 2001 06:32 Go to previous messageGo to next message
John R
Messages: 156
Registered: March 2000
Senior Member
Execute Immediate is only available in Oracle 8.1 and higher. Is this the cause of the problem?
Re: Help - Errors with CREATE TEMPORARY TABLE and EXECUTE IMMEDIATE - Any help appreciated :) [message #374734 is a reply to message #374693] Wed, 27 June 2001 06:32 Go to previous message
John R
Messages: 156
Registered: March 2000
Senior Member
Execute Immediate is only available in Oracle 8.1 and higher. Is this the cause of the problem?
Previous Topic: Partial duplicate records
Next Topic: Finding the correct work shift
Goto Forum:
  


Current Time: Mon Dec 23 18:27:28 CST 2024