Re: Consultas sobre procedimientos almacenados..
Juan Fernando,
Trata asÃ:
#DECLARE v_QUERY VARCHAR (1000);
SET @v_QUERY ='SELECT * FROM CITY';
PREPARE stmt1 FROM @v_QUERY;
EXECUTE stmt1;
DEALLOCATE PREPARE stmt1;
El problema es que la instrucción PREPARE necesita una variable de usuario "@" y no una variable local.
Subject
Views
Written By
Posted
9079
October 04, 2006 10:11AM
Re: Consultas sobre procedimientos almacenados..
2773
October 12, 2006 08:21AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.