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

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

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

        ORA-01031: 选择视图时权限不足

        时间:2024-04-15
        <i id='a43HL'><tr id='a43HL'><dt id='a43HL'><q id='a43HL'><span id='a43HL'><b id='a43HL'><form id='a43HL'><ins id='a43HL'></ins><ul id='a43HL'></ul><sub id='a43HL'></sub></form><legend id='a43HL'></legend><bdo id='a43HL'><pre id='a43HL'><center id='a43HL'></center></pre></bdo></b><th id='a43HL'></th></span></q></dt></tr></i><div id='a43HL'><tfoot id='a43HL'></tfoot><dl id='a43HL'><fieldset id='a43HL'></fieldset></dl></div>

          • <bdo id='a43HL'></bdo><ul id='a43HL'></ul>
              <tfoot id='a43HL'></tfoot>
            • <small id='a43HL'></small><noframes id='a43HL'>

                <tbody id='a43HL'></tbody>

                1. <legend id='a43HL'><style id='a43HL'><dir id='a43HL'><q id='a43HL'></q></dir></style></legend>

                  本文介绍了ORA-01031: 选择视图时权限不足的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  当我尝试执行包含来自不同模式的表的视图时,会抛出 ORA-001031 Insufficient privileges.这些表对创建视图的架构具有执行权限.如果我执行视图的 SQL 语句,它就可以工作.我错过了什么?

                  When I try to execute a view that includes tables from different schemas an ORA-001031 Insufficient privileges is thrown. These tables have execute permission for the schema where the view was created. If I execute the view's SQL Statement it works. What am I missing?

                  推荐答案

                  作为表所有者,您需要向正在运行 SELECT 语句的用户授予对基础表的 SELECT 访问权限.

                  As the table owner you need to grant SELECT access on the underlying tables to the user you are running the SELECT statement as.

                  grant SELECT on TABLE_NAME to READ_USERNAME;
                  

                  这篇关于ORA-01031: 选择视图时权限不足的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:为视图表推进自定义 sql 下一篇:创建跨不同数据库的视图

                  相关文章

                  <tfoot id='VWkkp'></tfoot>
                    <bdo id='VWkkp'></bdo><ul id='VWkkp'></ul>

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

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

                    1. <legend id='VWkkp'><style id='VWkkp'><dir id='VWkkp'><q id='VWkkp'></q></dir></style></legend>