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
WBOYOriginal
2016-07-13 17:01:00906browse

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...
Statement:
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
Previous article:Using Case_PHP TutorialNext article:Using Case_PHP Tutorial