By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,756 Members | 1,760 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,756 IT Pros & Developers. It's quick & easy.

Change schema name

P: n/a
Greetings,

How do you change the schema name of a table?

db2 rename table admin.employees to emp.employees

returns SQL0108N

db2 +c set current schema emp

db2 +c rename table admin.employees to employees

returns SQL0601N

Thanks for any input.
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
y can try to export the table and import with another schema.
im********@yahoo.com (Iman) wrote in message news:<38**************************@posting.google. com>...
Greetings,

How do you change the schema name of a table?

db2 rename table admin.employees to emp.employees

returns SQL0108N

db2 +c set current schema emp

db2 +c rename table admin.employees to employees

returns SQL0601N

Thanks for any input.

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.