List:General Discussion« Previous MessageNext Message »
From:Cifer Lee Date:March 11 2012 3:06am
Subject:why can not pass constant to stored procedure?
View as plain text  
when we call procedure
normally we declare the parameter out of the procedure and pass the
variable to procedure
like this

set @x=1;
call *a_procedure*(@x);

why can not directly pass the digit  1  to the* a_procedure* ?

Thread
why can not pass constant to stored procedure?Cifer Lee11 Mar
  • Re: why can not pass constant to stored procedure?Antony T Curtis11 Mar