Difference between revisions of "Template: GetMaxPrivateEditionReleaseDate"
From Genesys Documentation
Line 2: | Line 2: | ||
tables=ComponentRN,Component | tables=ComponentRN,Component | ||
|join on=ComponentRN.ComponentId HOLDS Component.Id | |join on=ComponentRN.ComponentId HOLDS Component.Id | ||
− | |fields=CONCAT('<td>',Component.Name,'</td><td>',MAX(PrivateEditionReleaseDate),'</td>') | + | |fields=CONCAT('<td>',Component.Name,'</td><td>',DATE_FORMAT(MAX(PrivateEditionReleaseDate),'%M %d, %Y'),'</td>') |
|where=ComponentId HOLDS '{{{ComponentId}}}' | |where=ComponentId HOLDS '{{{ComponentId}}}' | ||
|intro=<tr> | |intro=<tr> | ||
|outro=></tr> | |outro=></tr> | ||
}} | }} |
Revision as of 18:01, April 11, 2022
A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?
Query: SELECT CONCAT('',`cargo__Component`.`Name`,'',DATE_FORMAT(MAX(PrivateEditionReleaseDate),'%M %d, %Y'),'') AS `Name,'',DATE FORMAT(MAX(PrivateEditionReleaseDate),'%M %d, %Y'),'')` FROM `cargo__ComponentRN` LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) WHERE ComponentId HOLDS '{{{ComponentId}}}' ORDER BY CONCAT('',`cargo__Component`.`Name`,'',DATE_FORMAT(MAX(PrivateEditionReleaseDate),'%M %d, %Y'),'') LIMIT 100
Function: CargoSQLQuery::run 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 'HOLDS `cargo__Component`.`Id`)) WHERE ComponentId HOLDS '{{{ComponentId}}}' O' at line 1 (127.0.0.1)