Home > Database > Mysql Tutorial > 存储过程中创建表时 ORA-01031: insufficient privileges的解决方法

存储过程中创建表时 ORA-01031: insufficient privileges的解决方法

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:19:30
Original
1449 people have browsed it

执行某个存储过程时报错:ORA-01031: insufficient privileges。调试存储过程,发现在存储过程运行到创建表的这一步时出错,意即

执行某个存储过程时报错:ORA-01031: insufficient privileges。

调试存储过程,发现在存储过程运行到创建表的这一步时出错,意即没有权限创建表,,但实际上执行这个存储过程的用户是有创建表的权限的,在网上得到解决方法,在存储过程中添加如下内容即可:Authid Current_User,修改后的存储过程结构如下:

linux

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template