MySQL Forums
Forum List  »  Spanish

Problema con un procedure
Posted by: Andres Arcos
Date: August 02, 2007 05:13PM

El problema es el siguiente
cero un procediemiento de la siguiente forma

CREATE PROCEDURE P7(p int) set @x=p

despues hago el llamado al procedure

CALL P7(1234)

y despues hago

SELECT @x

por lo que la salida deberia ser: 1234

pero me retorna un valor NULL

alguien me podria ayudar?

Options: ReplyQuote


Subject
Views
Written By
Posted
Problema con un procedure
3030
August 02, 2007 05:13PM
2000
August 03, 2007 06:34AM


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.