How Assigning query return value to local a variable, and how to use that in where condition?
Posted
by Ayyappan.Anbalagan
on Stack Overflow
See other posts from Stack Overflow
or by Ayyappan.Anbalagan
Published on 2010-05-12T16:50:49Z
Indexed on
2010/05/12
16:54 UTC
Read the original article
Hit count: 161
mysql-query
|database
I am using mysql stored procedure; I need to assign query retuned value to local variable.
And i have to check the condition using the local variable.....
or
It my query
Select Meterial_Id from hemaepdb.transaction where CustId=1;
Instead of Meterial_Id i need to get the Meterial_name from Material table.....
© Stack Overflow or respective owner