Click here to Skip to main content
15,890,282 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
How to replicate an existing database using cursors in pl/sql ?
Posted
Updated 15-May-14 4:40am
v2
Comments
CHill60 15-May-14 10:45am    
You need to tag your question as Oracle. And explain why on earth you want to use Cursors to replicate your database
phil.o 15-May-14 11:06am    
That would be like asking 'How do I build a car with a spoon?': this has nothing to do with it.
Kornfeld Eliyahu Peter 15-May-14 11:28am    
THIS car was build with a spoon - probably with a large spoon :-)
http://theinspirationroom.com/daily/commercials/2007/12/skoda-sand-car.jpg
phil.o 15-May-14 11:31am    
I suspect this requires a lot more than a spoon :)
What happens to the car when it begins to move?
Kornfeld Eliyahu Peter 15-May-14 11:32am    
The same that happens to someone who try to replicate a database from a cursor!?

1 solution

Using cursor for any SQL is a waste of resources, so you must avoid it if you can. To replicate a database for sure you can't use a cursor!
Learn about Oracle's replication method than use the right tool for the right job...
http://docs.oracle.com/cd/A58617_01/server.804/a58227/ch_repli.htm[^]
http://www.oracle.com/technetwork/articles/systems-hardware-architecture/o11-080-art-data-replication-487868.pdf[^]
http://www.oracle.com/technetwork/database/features/data-integration/index.html[^]
 
Share this answer
 
Comments
CHill60 15-May-14 11:51am    
5'd. Love the car too!!
Kornfeld Eliyahu Peter 15-May-14 11:57am    
Thank you...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900