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;
Most small brands spend a lot of energy improving digital touchpoints. They refine their websites,…
Not every dog is friendly, and even friendly dogs can attack when threatened or provoked.…
Pressure cookers have become a favored kitchen appliance because they can quickly and efficiently cook…
Shopify has quickly become the preferred platform for businesses seeking to build an online presence.…
We all know that Instagram is a very famous social platform that attracts more and…
Glass at height is easy to overlook, in both senses. It is out of reach,…