Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Procedure to catalog a database 1

Status
Not open for further replies.

Diogo

Technical User
Mar 22, 2001
143
PT
Hello.

Is it possible to create a procedure that do a uncatalog and a catalog of a database?
I have tree instaces. And i want to create a procedure in instace A, that do de uncatalog of instace B and catalog the instance C as B.
Is this possible?

Sorry for my english.
Thanks any way...

DR
 
you might be able to do that using an external procedure and the administrative C-API. I am not sure whether other APIs are capable of doing that. There are restrictions on what you can do when connected.

But I am not sure you really want to do that, check your application architecture.

executing a command line script doing that is no big deal and would be my prefered solution.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top