v***@in.ibm.com
2007-10-11 10:21:23 UTC
HI all,
I have a database with name qpdb and there are four tables under it.
All the four tables have instance as db2ins.
Now i want to take the backup of the database qpdb and restore the same database in another machine.
I am running the backup and restore scripts to do the job. But the restore script is restoring the database with the same instance as db2ins.
But as per the requirement i need to update the instance name to qpricer.
As per my thinking if i can update the instance of the tables before taking the backup, may help me to resolve the issue.
Can any one suggest how to update the instance of all the four table in one shot.Some sample script will help me to understand
If you can suggest some other solution then, it will be appreciated.
Thanks in advance.
I have a database with name qpdb and there are four tables under it.
All the four tables have instance as db2ins.
Now i want to take the backup of the database qpdb and restore the same database in another machine.
I am running the backup and restore scripts to do the job. But the restore script is restoring the database with the same instance as db2ins.
But as per the requirement i need to update the instance name to qpricer.
As per my thinking if i can update the instance of the tables before taking the backup, may help me to resolve the issue.
Can any one suggest how to update the instance of all the four table in one shot.Some sample script will help me to understand
If you can suggest some other solution then, it will be appreciated.
Thanks in advance.