Across multiple databases

Source: Internet
Author: User
Tags character set informix requires unsupported
Data | Database A few days ago, the company has been running a normal ASP query procedures, installed to a client side suddenly can not run. The database that the customer uses is Informix, the server is Windows2000 Professional Simplified Chinese, and the database that we used to use the test previously is ms-sqlserver.
When the query results page is positioned (that is, set ADODB.) Recordset.absolutepage property) Error: Unsupported cursor type. This is a long time ago other people do, and I have not touched ADO for more than a year, so can only vaguely feel that may be ADO. Problem with the recordset cursor, find the Open code for the specified Recordset object and find that it does not explicitly define the cursor position of the recordset (CursorLocation), well, if it's not mistaken, ADO. The default cursor location for the Recordset is server mode. Sets the cursor position of the Recordset to the client and the cursor type as static. Refresh page, error, hint unsupported character set. Locate the Open where the error location is the Recordset object. Depressed (half an hour) ...
It is found to use SQL query statements directly in ASP scripts, and use the AS keyword to name the field names as Chinese. Well? Perhaps for this reason, the cancellation of the Chinese nickname. Refresh again, success!



I'm completely unfamiliar with the Informix database, so I don't know why this is happening, but it's enough to remind me that the application across multiple database platforms is not as smooth as it should be, and that at least a lot of detail needs to be considered and handled, which requires considerable experience and skill. In the company's next new project, which requires support for multiple databases (Oracle, SQL Server, DB2), and the middle tier to run on Unix, Linux and Windows platforms, it seems that I need to be more cautious about estimating my technical design.




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.