Drupal uses db_query_range()for the reason that not all databases support LIMIT,
db_query_range()
LIMIT
can you name a few?
DB2, MSSQL, Oracle, and Informix do not support LIMIT. This is actually not in the SQL standard. (Standard is "FETCH FIRST").
Here is a good source for comparing SQL: http://troels.arvin.dk/db/rdbms/#select-limit
Microsoft SQL Server LIMIT. TOP, . TOP .
TOP
ms sql, oracle.
LIMIT ANSI SQL '92, . / / sql
DB2, Oracle MS SQL Server LIMIT.
Google <database name> LIMIT, LIMIT.
<database name> LIMIT
, ANSI-92 SQL ROW_NUMBER() , . . SELECT (SQL) .
ROW_NUMBER()
Source: https://habr.com/ru/post/1745400/More articles:How to translate product name and information in Magento - phphow to make the operating system give java more memory? - javaМожно ли установить описание столбцов SQL Server с использованием свободной nhibernate-карты? - .nethttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1745398/how-to-apply-styles-to-the-whole-silverlight-application&usg=ALkJrhgIrocQo8a0TR82eHYl678BTKiAXAИспользование синтаксического сахара/встроенной функциональности - c#Как вызвать хранимую процедуру с использованием HibernateTemplate в рамках spring? - javaHow to increase the speed of a component made from Javascript or JQuery? - javascriptNeed TV / Movie API with appropriate trailers - apiNested loop with dependent trip segment - algorithmWhat is the cleanest way to programmatically kill and restart explorer.exe? - installerAll Articles