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

  • <tfoot id='SJL7u'></tfoot>
    <legend id='SJL7u'><style id='SJL7u'><dir id='SJL7u'><q id='SJL7u'></q></dir></style></legend>

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

      <bdo id='SJL7u'></bdo><ul id='SJL7u'></ul>
      1. 如何获取存储过程参数的详细信息?

        How to get stored procedure parameters details?(如何获取存储过程参数的详细信息?)

          <small id='9f2eF'></small><noframes id='9f2eF'>

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

              <tbody id='9f2eF'></tbody>
            <legend id='9f2eF'><style id='9f2eF'><dir id='9f2eF'><q id='9f2eF'></q></dir></style></legend>
              <bdo id='9f2eF'></bdo><ul id='9f2eF'></ul>

                1. 本文介绍了如何获取存储过程参数的详细信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  在哪里可以找到有关存储过程参数的信息?在我的情况下,我只需要知道给定存储过程的输入参数.

                  Where can I find information about stored procedure parameters? In my situation I need to know only the input parameters of given store procedure.

                  sys.objects 中,只有关于过程的共同细节.在 sys.sql_modules 中,我可以提取整个过程的 SQL 文本.

                  In the sys.objects there is only common details about the procedure. In sys.sql_modules I can extract the whole SQL text of a procedure.

                  作为(在 SQL Server Management Studio 中),我可以在选择过程名称时使用 ALT+F1 在表格视图中提取有关参数的信息.我希望有一些地方可以以这种方式提取输入参数的详细信息.

                  As (in SQL Server Management studio) I am able to extract information about the parameters in tabular view using ALT+F1 when selecting the procedure name. I hope there is some place from which I can extract input parameters details in that way.

                  推荐答案

                  select  
                     'Parameter_name' = name,  
                     'Type'   = type_name(user_type_id),  
                     'Length'   = max_length,  
                     'Prec'   = case when type_name(system_type_id) = 'uniqueidentifier' 
                                then precision  
                                else OdbcPrec(system_type_id, max_length, precision) end,  
                     'Scale'   = OdbcScale(system_type_id, scale),  
                     'Param_order'  = parameter_id,  
                     'Collation'   = convert(sysname, 
                                     case when system_type_id in (35, 99, 167, 175, 231, 239)  
                                     then ServerProperty('collation') end)  
                  
                    from sys.parameters where object_id = object_id('MySchema.MyProcedure')
                  

                  这篇关于如何获取存储过程参数的详细信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  ibtmp1是非压缩的innodb临时表的独立表空间,通过innodb_temp_data_file_path参数指定文件的路径,文件名和大小,默认配置为ibtmp1:12M:autoextend,也就是说在文件系统磁盘足够的情况下,这个文件大小是可以无限增长的。 为了避免ibtmp1文件无止境的暴涨导致
                  SQL query to group by day(按天分组的 SQL 查询)
                  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 按组最频繁)
                  Include missing months in Group By query(在 Group By 查询中包含缺失的月份)

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

                      <tfoot id='15wDQ'></tfoot>
                    • <legend id='15wDQ'><style id='15wDQ'><dir id='15wDQ'><q id='15wDQ'></q></dir></style></legend>
                        <tbody id='15wDQ'></tbody>

                        <bdo id='15wDQ'></bdo><ul id='15wDQ'></ul>