All the stored procedure needs parameters to make more flexible. It has one of these three modes i.e. IN, OUT or INOUT.
IN: Default mode i.e. calling program has to pass an argument to the stored procedures and value of IN parameter is changed inside of stored procedure even after stored procedure ends, the values is retained.
OUT: OUT parameter value can be changed inside of stored procedures and new value passed back to the calling program.
INOUT: Combination of IN and OUT.
To hold stored procedures result we can use variables.
DECLARE total_price INT(11) DEFAULT 0;
SET total_price = 250;
In a world where digital presence is paramount, the question isn't whether you should do…
Over the years, people have experimented with various methods to maintain healthy and beautiful hair.…
Your brand more than developing an attractive and creative logo and infectious motto. It's the…
Introduction Are you someone who has suffered from a personal injury and want to file…
Operating from home has emerged as one of the most popular ways of doing jobs…
If the consequences of our society’s ever-growing debt are what worries you, then it is…