<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: 选择视图时权限不足

        ORA-01031: insufficient privileges when selecting view(ORA-01031: 选择视图时权限不足)
        <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: 选择视图时权限不足的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  What does SQL clause quot;GROUP BY 1quot; mean?(SQL 子句“GROUP BY 1是什么意思?意思是?)
                  Why Mysql#39;s Group By and Oracle#39;s Group by behaviours are different(为什么 Mysql 的 Group By 和 Oracle 的 Group by 行为不同)
                  How to select the first row for each group in MySQL?(如何在MySQL中为每个组选择第一行?)
                  MySQL - Fetching lowest value(MySQL - 获取最低值)
                  Add and link mysql libraries in a cmakelist.txt(在 cmakelist.txt 中添加和链接 mysql 库)
                  What is a good database design (schema) for a attendance database?(考勤数据库的良好数据库设计(架构)是什么?)

                  <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'>

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