You can call the stored procedure using the statement
CALL MyFirstProc(1077, saleamt, 0);
The Rule is
- IN parameters, you have to pass the value
- OUT parameters, you have to specify a variable name
- INOUT parameters, you have to pass a value, but the stored procedure also returns a value as well.
↧