Notes for release systems

Source: Internet
Author: User

1: Problem: After the system is released, you can find some Chinese characters in the report are garbled. You can only find out that these Chinese characters are returned from the stored procedure. Why is there no such problem in the development environment? Finally, the cause of the problem is clear. In the past, the database servers actually deployed were in English and the database servers in the development environment were in Chinese. The varcha type in the stored procedure does not support Chinese encoding in the English operating system, chinese encoding is supported in the Chinese operating system.
Solution: Change the varchar type in the stored procedure to nvarchar (UTF-8 encoding supported ).

2: After the system is released, the data displayed in a data list is incorrect. The data list extracts data from a view. Why? It turns out that a source table in this view changes the table structure and deletes a column, but the view does not automatically update and remove the column.
Solution: Open the view designer, run the view, and manually update the view (the view is not automatically updated ). It is recommended that you do not useSelect *And useSelect Field 1, Field 2 .......

3: problem: a function is abnormal after the system is released. After checking, it is found that this function applies a stored procedure, the stored procedure failed because it exceeds the permissions of the database users who are currently deploying the system! The SA Super User is used for testing in the development environment. Of course, this cannot be checked.
Solution: Modify the stored procedure. During the test, try to make the test environment consistent with the deployment environment.

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.