мНет описания правки
мНет описания правки
Строка 24: Строка 24:
}}}}{{#vardefine:dbafter1|{{#cargo_query:
}}}}{{#vardefine:dbafter1|{{#cargo_query:
     tables=Persona
     tables=Persona
     |where=(DATE_FORMAT(Persona.DateBirth, '%m-%d') >= '{{#time: m-d}}' AND DATE_FORMAT(Persona.DateBirth, '%m-%d') <= '12-31')
     |where=(DATE_FORMAT(Persona.DateBirth, '%m-%d') >= '{{#time: m-d}}'
     |fields=Persona._pageName, DATE_FORMAT(Persona.DateBirth, '%d.%m.%Y'), DATE_FORMAT(Persona.DateDeath, '%d.%m.%Y')
     |fields=Persona._pageName, DATE_FORMAT(Persona.DateBirth, '%d.%m.%Y'), DATE_FORMAT(Persona.DateDeath, '%d.%m.%Y')
     |order by=DATE_FORMAT(Persona.DateBirth, '%m-%d') ASC
     |order by=DATE_FORMAT(Persona.DateBirth, '%m-%d') ASC

Версия от 19:21, 25 октября 2024

Дни рождения


Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY DATE_FORMAT(`cargo__Persona`.`DateBirth`, '%m-%d') LIMIT 100' at line 1

Function: CargoSQLQuery::run Query: SELECT `cargo__Persona`.`_pageID` AS `cargo_backlink_page_id_Persona`,`cargo__Persona`.`_pageName` AS `_pageName`,DATE_FORMAT(`cargo__Persona`.`DateBirth`, '%d.%m.%Y') AS `DateBirth, '%d.%m.%Y')`,DATE_FORMAT(`cargo__Persona`.`DateDeath`, '%d.%m.%Y') AS `DateDeath, '%d.%m.%Y')` FROM `cargo__Persona` WHERE (DATE_FORMAT(`cargo__Persona`.`DateBirth`, '%m-%d') >= '11-01' ORDER BY DATE_FORMAT(`cargo__Persona`.`DateBirth`, '%m-%d') LIMIT 100

Дни памяти