[Koha] new sql report

Hugo Agud hagud at orex.es
Fri Apr 5 22:15:12 NZDT 2013


Dear all

Based on the report published
http://wiki.koha-community.org/wiki/SQL_Reports_Library on new bib, we have
create a new one that give you the list of new records with some marc21
tags...I hope you enjoy i


SELECT ExtractValue(b.marcxml,
'//datafield[@tag="245"]/subfield[@code="a"]'), ExtractValue(b.marcxml,
'//datafield[@tag="260"]/subfield[@code="a"]'),ExtractValue(b.marcxml,
'//datafield[@tag="260"]/subfield[@code="c"]'), monthname(datecreated) AS
month, year(datecreated) AS year, biblionumber AS biblionumber
FROM biblio
LEFT JOIN biblioitems b USING (biblionumber)
WHERE datecreated BETWEEN <<Between (yyyy-mm-dd)>> AND <<and (yyyy-mm-dd)>>


Kindest Regards
Hugo

-- 

*Hugo Agud - Orex Digital *

*www.orex.es*

*
*

 Director

Mossen Jaume Rafanell, 21 · 08338 Premià de Dalt - Tel: 93 539 40 70
hagud at orex.es · http://www.orex.es/



No imprima este mensaje a no ser que sea necesario. Una tonelada de papel
implica la tala de 15 árboles y el consumo de 250.000 litros de agua.



Aviso de confidencialidad
Este mensaje contiene información que puede ser CONFIDENCIAL y/o de USO
RESTRINGIDO. Si usted no es el receptor deseado del mensaje (ni
está autorizado a recibirlo por el remitente), no está autorizado a copiar,
reenviar o divulgar el mensaje o su contenido. Si ha recibido este mensaje
por error, por favor, notifíquenoslo inmediatamente y bórrelo de su sistema.


More information about the Koha mailing list