FastCGI Error case analysis (Error Number:-2147467259 (0x80004005 ).

Source: Internet
Author: User

 

An error is returned when you use PHP to perform cascading query on the SQL2000 database. google does not get a clear answer, but in general, it is caused by brute-force memory access. brute-force memory access is generally caused by data overflow. so focus on the SQL script select top 50. nickname, B. userid, sum (B. playtime) as cut from playhistory B inner join users a on B. userid =. userid where B. gdate between '2017-09-24 00:00:00 'and '2017-09-24 23:59:59' group by B. userid,. change nickname order by cut desc to select top 50. nickname, B. userid, cast (sum (B. playtime) as bigint) as cut from playhistory B inner join users a on B. userid =. userid where B. gdate between '2017-09-24 00:00:00 'and '2017-09-24 23:59:59' group by B. userid,. the reason why nickname order by cut desc solves the problem is that PHP does not know the type of the CUT temporary field, so the data type is unclear and overflow is changed to clear instructions.

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.