<small id='3tRBk'></small><noframes id='3tRBk'>

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

        我可以从存储过程访问远程 mysql 服务器/数据库吗?

        can I access a remote mysql server/db from a stored procedure?(我可以从存储过程访问远程 mysql 服务器/数据库吗?)

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

        <legend id='wNkN0'><style id='wNkN0'><dir id='wNkN0'><q id='wNkN0'></q></dir></style></legend>
        • <bdo id='wNkN0'></bdo><ul id='wNkN0'></ul>
          <tfoot id='wNkN0'></tfoot>
              <tbody id='wNkN0'></tbody>
                  <i id='wNkN0'><tr id='wNkN0'><dt id='wNkN0'><q id='wNkN0'><span id='wNkN0'><b id='wNkN0'><form id='wNkN0'><ins id='wNkN0'></ins><ul id='wNkN0'></ul><sub id='wNkN0'></sub></form><legend id='wNkN0'></legend><bdo id='wNkN0'><pre id='wNkN0'><center id='wNkN0'></center></pre></bdo></b><th id='wNkN0'></th></span></q></dt></tr></i><div id='wNkN0'><tfoot id='wNkN0'></tfoot><dl id='wNkN0'><fieldset id='wNkN0'></fieldset></dl></div>
                  本文介绍了我可以从存储过程访问远程 mysql 服务器/数据库吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  是否可以使用 sql 语句从存储过程连接到 mysql 服务器的远程实例,以进行选择和插入访问?

                  Is it possible to connect to a remote instance of mysql server from a stored procedure using sql statements, for select and insert access?

                  理想情况下,它应该类似于(伪代码):

                  Ideally, it would be something like (pseudo-code):

                  connect to remotedb@remotehost
                  select field1 from remotedb.table1 where ...
                  

                  我想我可以在 C/C++ 中开发一个用户定义的函数,它通过 ODBC 来完成.不过,如果可能的话,我更喜欢本机语法.谢谢!

                  I guess I can develop a user-defined function in C/C++ that does it by ODBC. I'd prefer a native syntax if possible, though. Thanks!

                  推荐答案

                  是的.使用联合表功能.

                  这篇关于我可以从存储过程访问远程 mysql 服务器/数据库吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  Accessing another user#39;s table within an Oracle Stored Procedure(在 Oracle 存储过程中访问另一个用户的表)
                  How to View Oracle Stored Procedure using SQLPlus?(如何使用 SQLPlus 查看 Oracle 存储过程?)
                  How to Pass Java List of Objects to Oracle Stored Procedure Using MyBatis?(如何使用 MyBatis 将 Java 对象列表传递给 Oracle 存储过程?)
                  Set the variable result, from query(设置变量结果,来自查询)
                  What is dynamic SQL?(什么是动态 SQL?)
                  Mysql - How to quit/exit from stored procedure(Mysql - 如何退出/退出存储过程)
                    <bdo id='t76Tz'></bdo><ul id='t76Tz'></ul>
                      <tbody id='t76Tz'></tbody>
                    <i id='t76Tz'><tr id='t76Tz'><dt id='t76Tz'><q id='t76Tz'><span id='t76Tz'><b id='t76Tz'><form id='t76Tz'><ins id='t76Tz'></ins><ul id='t76Tz'></ul><sub id='t76Tz'></sub></form><legend id='t76Tz'></legend><bdo id='t76Tz'><pre id='t76Tz'><center id='t76Tz'></center></pre></bdo></b><th id='t76Tz'></th></span></q></dt></tr></i><div id='t76Tz'><tfoot id='t76Tz'></tfoot><dl id='t76Tz'><fieldset id='t76Tz'></fieldset></dl></div>
                    <legend id='t76Tz'><style id='t76Tz'><dir id='t76Tz'><q id='t76Tz'></q></dir></style></legend>

                      <tfoot id='t76Tz'></tfoot>

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