由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - 求教: dba privilage
相关主题
What does sum(2) mean?SQL SERVER 2K5 schema vs. Oracle schema
stored procedure help Please.....怎么设置多个用户 (Oracle 10g)?
Why does this Stored procedure fail ?mysql内存不断消耗
请各位帮我看看这个最简单的Stored Procedure (转载)再请教一个问题:stored procedure能不能直接显示信息什么的? (转载)
#在SQL里啥子意思query analyzer VS. Stored procedure
T-SQL 问题请问如何DEPLOY STORED PROCEDURE啊
pass parameter from stored procedure to SSIShow to compare two schemas to look for missing indices
stored procedure running 很慢的问题what's the error msg of .pc file
相关话题的讨论汇总
话题: schema话题: dba话题: privilage话题: procedure话题: table
进入Database版参与讨论
1 (共1页)
l***r
发帖数: 459
1
I have dba priviliege. I am able to create a proceduce in other schema, say A
schema. However, when I try to query a table in other schema, say B schema, in
procedure, I got "table or view doesn't exist". I have to grant select on that
table to A schema and make procedure compiled.
I wonder why?
Thanks.
sample:
create or replace procedure a.proc
(
para_out out varchar
)
as
begin
select notes into para_out from b.first; <-- error happened here
end;
/
g**n
发帖数: 431
2
You have to get the permission from the owner of that schema. DBA role doesn't
entitle you the privilege to do that.

【在 l***r 的大作中提到】
: I have dba priviliege. I am able to create a proceduce in other schema, say A
: schema. However, when I try to query a table in other schema, say B schema, in
: procedure, I got "table or view doesn't exist". I have to grant select on that
: table to A schema and make procedure compiled.
: I wonder why?
: Thanks.
: sample:
: create or replace procedure a.proc
: (
: para_out out varchar

l***r
发帖数: 459
3
Why? I even can select from b.first without error.

doesn't
say A
schema, in
that

【在 g**n 的大作中提到】
: You have to get the permission from the owner of that schema. DBA role doesn't
: entitle you the privilege to do that.

l*********r
发帖数: 80
4
are you in oracle?
can you see the details about your permission?

on

【在 l***r 的大作中提到】
: Why? I even can select from b.first without error.
:
: doesn't
: say A
: schema, in
: that

l***r
发帖数: 459
5

Certainly.
It has connect and dba privilege.
schema,

【在 l*********r 的大作中提到】
: are you in oracle?
: can you see the details about your permission?
:
: on

1 (共1页)
进入Database版参与讨论
相关主题
what's the error msg of .pc file#在SQL里啥子意思
Questions on SQLT-SQL 问题
Urgent help needed, pleasepass parameter from stored procedure to SSIS
help needstored procedure running 很慢的问题
What does sum(2) mean?SQL SERVER 2K5 schema vs. Oracle schema
stored procedure help Please.....怎么设置多个用户 (Oracle 10g)?
Why does this Stored procedure fail ?mysql内存不断消耗
请各位帮我看看这个最简单的Stored Procedure (转载)再请教一个问题:stored procedure能不能直接显示信息什么的? (转载)
相关话题的讨论汇总
话题: schema话题: dba话题: privilage话题: procedure话题: table