Previous Topic

Next Topic

Book Contents

Book Index

Running a MySQL Procedure with OUT parameters

OUT parameters for MySQL procedures are returned in pseudo variables. To view the value of these variables, you must run a query to return these values.

Example:

call film_in_stock(1,2,@p_film_count);

select @p_film_count;

Here:

AQT will handle this situation automatically by using SQL similar to the above.

Advanced Query Tool
https://www.querytool.com
© 2024 Cardett Associates Ltd. All rights reserved.