<i id='7MmFv'><tr id='7MmFv'><dt id='7MmFv'><q id='7MmFv'><span id='7MmFv'><b id='7MmFv'><form id='7MmFv'><ins id='7MmFv'></ins><ul id='7MmFv'></ul><sub id='7MmFv'></sub></form><legend id='7MmFv'></legend><bdo id='7MmFv'><pre id='7MmFv'><center id='7MmFv'></center></pre></bdo></b><th id='7MmFv'></th></span></q></dt></tr></i><div id='7MmFv'><tfoot id='7MmFv'></tfoot><dl id='7MmFv'><fieldset id='7MmFv'></fieldset></dl></div>
    • <bdo id='7MmFv'></bdo><ul id='7MmFv'></ul>
    <legend id='7MmFv'><style id='7MmFv'><dir id='7MmFv'><q id='7MmFv'></q></dir></style></legend>
    <tfoot id='7MmFv'></tfoot>

    <small id='7MmFv'></small><noframes id='7MmFv'>

      查看 MySQL 中的存储过程/函数定义

      View stored procedure/function definition in MySQL(查看 MySQL 中的存储过程/函数定义)
          <tbody id='uKUJy'></tbody>
        <tfoot id='uKUJy'></tfoot>

            <bdo id='uKUJy'></bdo><ul id='uKUJy'></ul>

              <i id='uKUJy'><tr id='uKUJy'><dt id='uKUJy'><q id='uKUJy'><span id='uKUJy'><b id='uKUJy'><form id='uKUJy'><ins id='uKUJy'></ins><ul id='uKUJy'></ul><sub id='uKUJy'></sub></form><legend id='uKUJy'></legend><bdo id='uKUJy'><pre id='uKUJy'><center id='uKUJy'></center></pre></bdo></b><th id='uKUJy'></th></span></q></dt></tr></i><div id='uKUJy'><tfoot id='uKUJy'></tfoot><dl id='uKUJy'><fieldset id='uKUJy'></fieldset></dl></div>

                <small id='uKUJy'></small><noframes id='uKUJy'>

                <legend id='uKUJy'><style id='uKUJy'><dir id='uKUJy'><q id='uKUJy'></q></dir></style></legend>
                本文介绍了查看 MySQL 中的存储过程/函数定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                查看存储过程或函数定义的MySQL命令是什么,类似于Microsoft SQL Server中的sp_helptext?

                What is the MySQL command to view the definition of a stored procedure or function, similar to sp_helptext in Microsoft SQL Server?

                我知道 SHOW PROCEDURE STATUS 将显示可用程序的列表.我需要查看单个过程的定义.

                I know that SHOW PROCEDURE STATUS will display the list of the procedures available. I need to see a single procedure's definition.

                推荐答案

                SHOW CREATE PROCEDURE <name>
                

                返回使用CREATE PROCEDURE 语句创建的先前定义的存储过程的文本.将 PROCEDURE 替换为 FUNCTION 以获取存储函数.

                Returns the text of a previously defined stored procedure that was created using the CREATE PROCEDURE statement. Swap PROCEDURE for FUNCTION for a stored function.

                这篇关于查看 MySQL 中的存储过程/函数定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                ibtmp1是非压缩的innodb临时表的独立表空间,通过innodb_temp_data_file_path参数指定文件的路径,文件名和大小,默认配置为ibtmp1:12M:autoextend,也就是说在文件系统磁盘足够的情况下,这个文件大小是可以无限增长的。 为了避免ibtmp1文件无止境的暴涨导致
                What does SQL clause quot;GROUP BY 1quot; mean?(SQL 子句“GROUP BY 1是什么意思?意思是?)
                MySQL groupwise MAX() returns unexpected results(MySQL groupwise MAX() 返回意外结果)
                MySQL SELECT most frequent by group(MySQL SELECT 按组最频繁)
                Why Mysql#39;s Group By and Oracle#39;s Group by behaviours are different(为什么 Mysql 的 Group By 和 Oracle 的 Group by 行为不同)
                MySQL GROUP BY DateTime +/- 3 seconds(MySQL GROUP BY DateTime +/- 3 秒)

                  1. <tfoot id='xpFt0'></tfoot>
                      <bdo id='xpFt0'></bdo><ul id='xpFt0'></ul>

                      <i id='xpFt0'><tr id='xpFt0'><dt id='xpFt0'><q id='xpFt0'><span id='xpFt0'><b id='xpFt0'><form id='xpFt0'><ins id='xpFt0'></ins><ul id='xpFt0'></ul><sub id='xpFt0'></sub></form><legend id='xpFt0'></legend><bdo id='xpFt0'><pre id='xpFt0'><center id='xpFt0'></center></pre></bdo></b><th id='xpFt0'></th></span></q></dt></tr></i><div id='xpFt0'><tfoot id='xpFt0'></tfoot><dl id='xpFt0'><fieldset id='xpFt0'></fieldset></dl></div>
                        <tbody id='xpFt0'></tbody>

                        <small id='xpFt0'></small><noframes id='xpFt0'>

                        <legend id='xpFt0'><style id='xpFt0'><dir id='xpFt0'><q id='xpFt0'></q></dir></style></legend>