eygle.com   eygle.com
eygle.com  
 
留言簿 - Powered by eYgLe.Com
eygle.com 我要留言
Oracle入门书籍推荐
昵称
内容 页: 1 - << < 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 > >> - 317
# 1148
zhangyg


来自: beijing


To:
  想买itpub的两本书
133。。。。。
From: zhangyg
2005.07.21 19:23
To: zhangyg
  收到,屏蔽号码先!

电话无人接听,可以发邮件给我:eygle.com@gmail.com
From: eygle
2005.07.21 20:52

版主选项: 回复 编辑
# 1147
Remen




To: eygle
  我从oem看到的也是这些全县,没有什么角色呀!
怎样才能查到他的所有权限?
谢谢1

From: Remen
2005.07.21 14:26
To: Remen
  我只是猜测,没有仔细研究过ERP中的权限问题;如果按照注释中的提示可以解决问题,何妨试之
From: eygle
2005.07.21 20:04

版主选项: 回复 编辑
# 1146
Remen




To: eygle
  谢谢回复!
是系统自己的用户,我drop user inv cascade了,然后重新创建的,并授权
你说pl.sql看到的不完全?为什么呢?
谢谢!
From: Remen
2005.07.21 13:20

版主选项: 回复 编辑
# 1145
Remen




To: eygle
   不好意思,贴错了!
错误应该是:
IMP-00017: following statement failed with ORACLE error 1031:
 "CREATE package APPS_ARRAY_DDL AUTHID DEFINER as"
 "/* $Header: adaaddls.pls 115.2 1999/11/09 16:51:03 pkm ship $ */"
 " --"
 " -- Package"
 " -- APPS_ARRAY_DDL"
 " -- Purpose"
 " -- Dynamic DDL support for large objects needing >32K SQL statements"
 " -- Notes"
 " -- 1. This package is created in each Oracle Applications account"
 " -- 2. Each account requires the following explicit"
 " --privileges to run (i.e. these privileges cannot be obtained"
 " --from a role, like 'connect'):"
 " --grant create session to <schema>;"
 " --grant alter session to <schema>;"
 " --grant create database link to <schema>;"
 " --grant create synonym to <schema>;"
 " --grant create view to <schema>;"
 " --grant create cluster to <schema>;"
 " -- grant create procedure to <schema>;"
 " -- grant create sequence to <schema>;"
 " -- grant create table to <schema>;"
 " -- grant create trigger to <schema>;"
 " -- Currently AutoInstall grants the neccessary privs to each schema"
 " --"
 "glprogtext dbms_sql.varchar2s;"
 "procedure apps_array_ddl(lb in integer,"

事情是这样的:
开始我创建了用户之后,通过pl/sql developer软件,察看其他erp系统的inv用户的权限,发现只有:
grant alter any outline to INV;
grant alter session to INV;
grant analyze any to INV;
grant create any outline to INV;
grant create cluster to INV;
grant create database link to INV;
grant create sequence to INV;
grant create session to INV;
grant create snapshot to INV;
grant create table to INV;
grant create type to INV;
grant drop any outline to INV;
grant query rewrite to INV;
这些权限,而且我用这个inv创建package也没有问题,所以我在我的环境建好用户inv后,也执行了这行语句进行授权,然后进行倒入,但是错误就出现了,除非我把上面的错误提示中的授权脚本加上,为什么呢?
谢谢啦!
From: Remen
2005.07.20 13:29
To: Remen
  
你是自己创建的用户?
可能有些权限是通过角色或其他方式授予的,你通过Pl/SQL Developer获取的信息可能并不完全。

From: eygle
2005.07.20 21:14

版主选项: 回复 编辑
# 1144
Remen




To: eygle
  知道你曾经搞过oracle erp,所以特意请教一个问题!
我现在用erp德inv用户,按用户导出了他的所有objects,然后drop user cascade,然后重新创建user,然后授权
grant execute on AD_DDL to INV;
-- Grant/Revoke system privileges
grant alter any outline to INV;
grant alter session to INV;
grant analyze any to INV;
grant create any outline to INV;
grant create cluster to INV;
grant create database link to INV;
grant create sequence to INV;
grant create session to INV;
grant create snapshot to INV;
grant create table to INV;
grant create type to INV;
grant drop any outline to INV;
grant query rewrite to INV;
grant create session to INV;
grant create synonym to INV;
grant create view to INV;
grant create procedure to INV;
grant create trigger to INV
然后倒入,可是却提示我:
IMP-00015: following statement failed because the object already exists:
 "CREATE package APPS_DDL AUTHID DEFINER as"
 "/* $Header: adaddls.pls 115.1 99/07/17 04:29:35 porting ship $ */"
 " --"
 " -- Package"
 " -- APPS_DDL"
 " -- Purpose"
 " -- Dynamic DDL support"
 " -- Notes"
 " -- 1. This package is created in each Oracle Applications account"
 " -- 2. Each account requires the following explicit"
 " --privileges to run (i.e. these privileges cannot be obtained"
 " --from a role, like 'connect'):"
 " --grant create session to <schema>;"
 " --grant alter session to <schema>;"
 " -- grant create database link to <schema>;"
 " -- grant create synonym to <schema>;"
 " -- grant create view to <schema>;"
 " -- grant create cluster to <schema>;"
 " -- grant create procedure to <schema>;"
 " -- grant create sequence to <schema>;"
 " -- grant create table to <schema>;"
 " -- grant create trigger to <schema>;"
 " -- Currently AutoInstall grants the neccessary privs to each schema"
 " --"

 "procedure apps_ddl(ddl_text in varchar2);"
 "end APPS_DDL;"
Import terminated successfully with warnings.

但是我明明已经把提示中的权限都授权了呀!
而且我察看其他没有问题的环境,用户的权限也就是下面的这些:
alter any outline
alter session
analyze any
create any outline
create cluster
create database link
create sequence
create session
create snapshot
create table
create type
drop any outline
query rewrite
我给这个有问题的环境的inv账户提供的权限比上面这个还多,则么会提示没有权限呢?郁闷!
我后来grant conenct,resource to inv,在实验的话就没有问题,但是我觉得系统中之所以没有connect,resouce的角色,肯定有它的道理,所以我想请教为何我上面的方法不可以?]
谢谢啦!]

From: Remen
2005.07.20 08:27

版主选项: 回复 编辑
# 1143
szandrew




To:
  刚来不久。难得一见这么多原创文章。以后我要经常来看看,版主也要记得经常更新哦
From: szandrew
2005.07.19 17:26
To: szandrew
  谢谢支持,俺的网站天天更新的
From: eygle
2005.07.20 08:05

版主选项: 回复 编辑
# 1142
顾三




To: eygle
  好长时间不来,eygle是下了大功夫搞自己的网站了,呵呵,真是有时间哪,羡慕一下
From: 顾三
2005.07.19 14:15
To: 顾三
  俺也是忙里偷闲啊
From: eygle
2005.07.20 08:04

版主选项: 回复 编辑
# 1140
新手




To: eygle
  不过还是恭喜你,马上就过万名了,两种心境:文人和工程师,高处也胜寒,总是这样,看来10几年的你,愿望还是快实现了!!!
  你可以成功的!!!你不喜欢自己做么?搞技术,打工
From: 新手
2005.07.19 08:38
To: 新手
  谢谢,重要的是自己开心,其他皆在次要了。
From: eygle
2005.07.19 13:04

版主选项: 回复 编辑
# 1139
booby




To: eygle
  我觉得心静自然凉是对自己最大的欺骗,同志们不要再骗自己了嘛
From: booby
2005.07.18 20:46
To: booby
  凉,的确很凉的
From: eygle
2005.07.19 13:03

版主选项: 回复 编辑
# 1138
booby




To: eygle
  都在说啥玩意呀?我来搅和一哈

热就一个字,我再说一次
From: booby
2005.07.18 20:42
To: booby
  打开门窗,扇子狂扇
From: eygle
2005.07.19 13:03

版主选项: 回复 编辑

页: 1 - << < 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 > >> - 317
我要留言
Copyright © 2003-2008 eygle.com All Rights Reserved.
Powered by: www.eYgLe.com