How Assigning query return value to local a variable, and how to use that in where condition?
- by Ayyappan.Anbalagan
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.....