jomfra
asked on
catalog.sql error
hello expert,
catalog.sql is run on live database 7.3.4 database the user compliant of problems
how can i undo the changes and return database to normal
catalog.sql is run on live database 7.3.4 database the user compliant of problems
how can i undo the changes and return database to normal
While waiting for the answers to the questions above, I believe the short answer is: no, you cannot rollback the run of catalog.sql.
If there ware errors causes because of it, my guess is the version of catalog.sql that ran wasn't for the version of the instance it was applied.
Also make sure there were no errors when it ran. prior to running it you should spool the output. You can then check the output for errors.
Spool the output and run it again.
If there ware errors causes because of it, my guess is the version of catalog.sql that ran wasn't for the version of the instance it was applied.
Also make sure there were no errors when it ran. prior to running it you should spool the output. You can then check the output for errors.
Spool the output and run it again.
ASKER
hello expert,
i seem as if i cannot get access to any of system tables
example
log on as system
desc dba_role_privs
ERROR at line 1:
ORA-00942: table or view does not exist
i seem as if i cannot get access to any of system tables
example
log on as system
desc dba_role_privs
ERROR at line 1:
ORA-00942: table or view does not exist
Who are you connected as when you run that statement?
dba_role_privs is owned by sys, so you might try:
desc sys.dba_role_privs
desc sys.dba_role_privs
ASKER
hello expert,
it seem like all the role has to predefined with sys
example
SQL> desc user_users
Object does not exist.
SQL> desc sys.user_users
Name Null? Type
-------------------------- ----- -------- ----
USERNAME NOT NULL VARCHAR2(30)
USER_ID NOT NULL NUMBER
DEFAULT_TABLESPACE NOT NULL VARCHAR2(30)
TEMPORARY_TABLESPACE NOT NULL VARCHAR2(30)
CREATED NOT NULL DATE
SQL>
all the roles has to be predefined with sys before i can query them are all the public synonyms
deleted
how can be able to query on these table with using sys
thanks
it seem like all the role has to predefined with sys
example
SQL> desc user_users
Object does not exist.
SQL> desc sys.user_users
Name Null? Type
--------------------------
USERNAME NOT NULL VARCHAR2(30)
USER_ID NOT NULL NUMBER
DEFAULT_TABLESPACE NOT NULL VARCHAR2(30)
TEMPORARY_TABLESPACE NOT NULL VARCHAR2(30)
CREATED NOT NULL DATE
SQL>
all the roles has to be predefined with sys before i can query them are all the public synonyms
deleted
how can be able to query on these table with using sys
thanks
well, all those tables should have public synonyms, so there must have been something wrong with the execution of catalog.sql. rerun it (being logged in as sys)
ASKER
hello expert,
i do not know the sys password but i know the system password
how can i run same with the system password
thanks
i do not know the sys password but i know the system password
how can i run same with the system password
thanks
As SYSTEM run catdbsyn. That may work.
>i do not know the sys password but i know the system password
then you have to ask the person that DOES know the sys password!
then you have to ask the person that DOES know the sys password!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
and also when the error occurs exactly?