|
|
SQL> drop view PRODUCT_PRIVS ;
View dropped.
SQL>
SQL> host find /oracle/oracle -name pupbld.sql -ls
1136 4 -rw-r--r-- 1 oracle dba 3989 Nov 18 1997 /oracle/oracle/app/oracle/product/7.3.4/sqlplus/admin/pupbld.sql
SQL> SQL> @ /oracle/oracle/app/oracle/product/7.3.4/sqlplus/admin/pupbld.sql
Synonym dropped.
date_value from product_user_profile
*
ERROR at line 3:
ORA-00942: table or view does not exist
drop table product_user_profile
*
ERROR at line 1:
ORA-00942: table or view does not exist
alter table product_profile add (long_value long)
*
ERROR at line 1:
ORA-01430: column being added already exists in table
create table product_profile
*
ERROR at line 1:
ORA-00955: name is already used by an existing object
View created.
Grant succeeded.
create public synonym product_profile for system.product_privs
*
ERROR at line 1:
ORA-00955: name is already used by an existing object
Synonym created.
create public synonym product_user_profile for system.product_privs
*
ERROR at line 1:
ORA-00955: name is already used by an existing object
create table user_profile
*
ERROR at line 1:
ORA-00955: name is already used by an existing object
Grant succeeded.
create view user_privs as
*
ERROR at line 1:
ORA-00955: name is already used by an existing object
Grant succeeded.
create public synonym user_profile for system.user_privs
*
ERROR at line 1:
ORA-00955: name is already used by an existing object
0 rows updated.
然后用sqlplus 92l连接:报错多了一行(SP2-0642: SQL*Plus internal error state 2091, context 0:0:0 Unsafe to proceed)
>sqlplus scott/tiger@ora9
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Dec 24 17:52:03 2004
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SP2-0642: SQL*Plus internal error state 2091, context 0:0:0
Unsafe to proceed
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM |
|