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

    2. <tfoot id='nHR3v'></tfoot>
      • <bdo id='nHR3v'></bdo><ul id='nHR3v'></ul>

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

    3. <legend id='nHR3v'><style id='nHR3v'><dir id='nHR3v'><q id='nHR3v'></q></dir></style></legend>
    4. 如何在 SQL Server 程序/触发器中查找文本?

      How to find a text inside SQL Server procedures / triggers?(如何在 SQL Server 程序/触发器中查找文本?)

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

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

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

              <bdo id='gvGzu'></bdo><ul id='gvGzu'></ul>
            • <tfoot id='gvGzu'></tfoot>

                <tbody id='gvGzu'></tbody>
                本文介绍了如何在 SQL Server 程序/触发器中查找文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我有一个会改变的链接服务器.一些过程像这样调用链接服务器:[10.10.100.50].dbo.SPROCEDURE_EXAMPLE.我们有触发器也在做这种工作.我们需要找到所有使用[10.10.100.50]的地方来改变它.

                I have a linkedserver that will change. Some procedures call the linked server like this: [10.10.100.50].dbo.SPROCEDURE_EXAMPLE. We have triggers also doing this kind of work. We need to find all places that uses [10.10.100.50] to change it.

                在 SQL Server Management Studio Express 中,我没有在 Visual Studio 中找到在整个数据库中查找"这样的功能.特殊的 sys-select 能帮我找到我需要的吗?

                In SQL Server Management Studio Express, I didn't find a feature like "find in whole database" in Visual Studio. Can a special sys-select help me find what I need?

                推荐答案

                这里是我在系统上用来查找文本的过程的一部分....

                here is a portion of a procedure I use on my system to find text....

                DECLARE @Search varchar(255)
                SET @Search='[10.10.100.50]'
                
                SELECT DISTINCT
                    o.name AS Object_Name,o.type_desc
                    FROM sys.sql_modules        m 
                        INNER JOIN sys.objects  o ON m.object_id=o.object_id
                    WHERE m.definition Like '%'+@Search+'%'
                    ORDER BY 2,1
                

                这篇关于如何在 SQL Server 程序/触发器中查找文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                相关文档推荐

                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 查询中包含缺失的月份)

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

                      <tbody id='fJJ42'></tbody>

                    <legend id='fJJ42'><style id='fJJ42'><dir id='fJJ42'><q id='fJJ42'></q></dir></style></legend>
                    • <bdo id='fJJ42'></bdo><ul id='fJJ42'></ul>
                      <tfoot id='fJJ42'></tfoot>

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