Home » RDBMS Server » Server Administration » schema transfer
schema transfer [message #50464] Sun, 17 March 2002 20:40 Go to next message
Rajee
Messages: 17
Registered: June 2001
Junior Member
Hi,
How to transfer schema owned by an oracle user to another oracle user without using Export/Import utlity.
I need to transfer the entire schema (all schema objects).

Thanks and Regards,
Rajee
Re: schema transfer [message #50467 is a reply to message #50464] Sun, 17 March 2002 21:34 Go to previous messageGo to next message
Manu Gupta
Messages: 44
Registered: January 2002
Member
I would do it by granting "select" privileges to the new user on all objects and then using "create {object} {object_name} as select.....".
Re: schema transfer [message #50469 is a reply to message #50464] Sun, 17 March 2002 21:54 Go to previous messageGo to next message
Rajee
Messages: 17
Registered: June 2001
Junior Member
Hi,
Thanks for ur immediate reply, gupta.
I think "create {object} {object_name} as select....." query will work for objects like tables, views, indexes, etc. But how to transfer procedures, functions and packages.

Thanks and Regards,
Rajee
Re: schema transfer [message #50471 is a reply to message #50464] Sun, 17 March 2002 22:08 Go to previous message
Carnage
Messages: 9
Registered: March 2002
Junior Member
Drawback of CTAS
1. If you got through CTAS only "not null" constarints will come ... not primary or unique key will act.
CONSTAINTS ARE LOST.
2. Rollback should be very large( u might me creating huge table )
Previous Topic: Failed_login_attempts
Next Topic: 8i Install: missing component oracle.swd.jre.1.1.8.10.0.
Goto Forum:
  


Current Time: Mon Jul 08 12:23:54 CDT 2024