Confusion about synonym usage

Source: Internet
Author: User
When the company's production database is established, the user name used in the program is ABB, and all the tables belong to ABB. In this way, the permissions of ABB users are almost unlimited, he can drop any table. Another time a few days ago, the developer mistakenly dropped a table.
According to the original plan, the database was changed last week (because the HDD logic was damaged) and upgraded to 10 Gb by the way. therefore, during the upgrade, all objects under the abb user are moved to the ABC user. create ABB and use tokens to create synonyms for all objects of ABC users. in this way, the program can be directly used without modification.
After the entire upgrade process is complete, open the web for users to use. however, in the production line report, the program cannot be opened. At first, the program may be considered as a BDE version problem. After modifying the BDE parameter, the program can be opened, but the execution is very slow and tested by developers, the synonym created for the stored procedure cannot be used in the program, and the program is changed to ABC. OK after XXXX.
At present, although this problem has been solved, the synonym is clearly set up and available on the webpage, but it is invalid in the C ++ program, and it is still puzzling.

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.