How does db2 rename a table ?, How does db2 rename a table?

Source: Internet
Author: User

How does db2 rename a table ?, How does db2 rename a table?
How does db2 rename a table?

Set The current schema: db2 => set schema db2adminDB20000I The SQL command completed successfully. if the command contains schema, the following error occurs: db2 => rename table db2admin. test_tab to db2admin. test_tab1DB21034E The command was processed as an SQL statement because it was not a valid Command Line Processor command. during SQL processing it returned: SQL0108N The name "test_tab1" has the wrong number of qualifiers. SQLSTATE = 42601 you can successfully rename The schema after removing it: db2 => rename table test_tab to test_tab1DB20000I The SQL command completed successfully.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.