Is there any tool to find out stored-procedure and its parameters list from the database? I am just implementing in to the swing application where user will give the database name only and on the basis of db name i have to fetch all the stored procedure and its parameter.
You can use: SELECT name,param_list FROM mysql.proc WHERE db='your_database' and type='procedure';
to retrieve the list of all procedures and their parameters.
SHOW PROCEDURE STATUS
will show you the available stored procedures.
For fetching procedures for a particular database, use -
SHOW PROCEDURE STATUS
WHERE Db = 'your_database_name';
See this answer for a more detailed explanation.
Take a look at DBVisualizer . It will show you everything that is related to your database including your stored procedures.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.