Home > Backend Development > PHP Tutorial > An issue you should pay attention to when performing Update during cursor operation_PHP Tutorial

An issue you should pay attention to when performing Update during cursor operation_PHP Tutorial

WBOY
Release: 2016-07-13 17:01:00
Original
908 people have browsed it

When performing a cursor operation, if you use the Order by clause, but the Order by field does not have an index, it will cause the cursor to be a read-only attribute, and the
cannot be specified as the for Update state. The solution to
is: Remove the Order by clause or index the Order by field.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/631204.htmlTechArticleWhen performing cursor operations, if you use the Order by clause, but the Order by field does not have an index, then This will cause the cursor to be a read-only attribute, and cannot be specified as for Update state. The solution is...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template