Rename the column name and table name in oracle

Source: Internet
Author: User


Rename the column name and table name in oracle directly in pl/SQL and then in oem, however, you may not be able to change the lower-case table name to the upper-case table name. At this time, www.2cto.com can be changed using SQL statements. In oracle, "" quotation marks are used in upper and lower case, otherwise, the rename column name of the alter table is capitalized by default to the new column name. Note that column is the keyword/* rename column name */www.2cto.com, for example: alter table carve_e_angelinves_fund rename column "Companyname" to "COMPANYNAME" alter table name rename to new TABLE name/* rename TABLE name */

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.