SQLDEVELOPER Could not copy database [message #654201] |
Thu, 28 July 2016 04:50 |
|
pcouas
Messages: 112 Registered: February 2016
|
Senior Member |
|
|
Hi
I could not copy database with SQLDeveloper Tools
I make
-> Tools
-> Copy database
Select source and destionation
Select copy all objects
Then Next button and Next too
But when i make "Search" nothing" is visible ?? Why ?
I have tested with normal user from source Database then with SYS and SYSTEM user.
Perhaps rights and role problem, but which !
Regards
Phil
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: SQLDEVELOPER Could not copy database [message #654378 is a reply to message #654377] |
Mon, 01 August 2016 08:53 |
|
pcouas
Messages: 112 Registered: February 2016
|
Senior Member |
|
|
have tried too
select NULL ENTRY, inner.* from (
select null name, -1 LINE, -1 COL, null USAGE,
case when obj.object_type like 'JAVA%' then 'JAVA' else obj.object_type end TYPE,
OWNER, case when obj.object_type like 'JAVA%' then 'JAVA' else obj.object_type end OBJECT_TYPE,
obj.OBJECT_NAME
from sys.dba_objects obj where rownum <= 99999999 and obj.object_type != 'TABLE PARTITION' and obj.object_type != 'TABLE SUBPARTITION' and obj.object_type != 'JAVA CLASS' AND NOT EXISTS (SELECT 1 FROM SYS.ALL_MVIEWS WHERE MVIEW_NAME = obj.OBJECT_NAME AND OWNER = obj.OWNER and obj.object_type = 'TABLE') AND NOT EXISTS (SELECT 1 from all_queue_tables WHERE QUEUE_TABLE = obj.OBJECT_NAME AND OWNER = obj.OWNER and obj.object_type = 'TABLE') and object_type in ( :1, :2, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13 ) and owner in ( :14 )
union all
select null name, -1 LINE, -1 COL, null USAGE,
'MATERIALIZED VIEW LOG' TYPE, log_owner OWNER,
'MATERIALIZED VIEW LOG' OBJECT_TYPE, master||'('||LOG_TABLE||')' OBJECT_NAME
from all_snapshot_logs where rownum <= 99999999 and log_owner in ( :15 )
union
select null name, -1 LINE, -1 COL, null USAGE,
'DATABASE LINK' TYPE, owner OWNER,
'DATABASE LINK' OBJECT_TYPE, db_link OBJECT_NAME
from dba_db_links where rownum <= 99999999 and owner in ( :16 )
) inner
where rownum <= 99999999
order by owner, type, name, CASE WHEN USAGE = 'DECLARATION' OR USAGE = 'DEFINITION' THEN 0 ELSE 1 END, usage, object_name, line, col;
Result
ORA-04063: view "SYS.ALL_QUEUE_TABLES" has errors
04063. 00000 - "%s has errors"
Regards
|
|
|
|